Timeline for What does "systemctl daemon-reload" do?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 10 at 22:14 | comment | added | Krisztián Szegi | If you are arguing that you are editing non-package-installed unit files, then what in the hell those files are doing in /lib. Use /usr/local/lib/systemd for ones installed from other-than-repo sources (or built locally) FHS has its merits, alhough most distributions doesn't respect it as they should, and much less the admins... | |
| May 10 at 22:09 | comment | added | Krisztián Szegi | You should NEVER change files in /lib/systemd/system! That path is reserved for package installed units systemctl edit creates local overrides in /etc/systemd/system/servicename.override.d/servicename: /etc is where machine/admin conf should go! If you are not overriding partly, you can pass --full to edit, and it will create the file /etc/systemd/system/servicename, that masks the one in lib. If you are changing files in /lib you are asking to be burnt anyway, as package update will silently overwrite your changes anyway, and decent postinstalls reloads the systemd daemon... | |
| Aug 11, 2024 at 1:25 | comment | added | dariox | This is the kind of concise and direct answer I would expect to find; more useful to me than a copy-paste from the manual. | |
| S Nov 9, 2023 at 16:47 | history | suggested | xXCodeMonkeyXx | CC BY-SA 4.0 | There are two ways to do this; use the daemon-reload or reboot. |
| Oct 5, 2023 at 16:41 | review | Suggested edits | |||
| S Nov 9, 2023 at 16:47 | |||||
| S Aug 21, 2023 at 15:11 | history | edited | AdminBee | CC BY-SA 4.0 | Minor rephrasing |
| S Aug 21, 2023 at 15:11 | history | suggested | CommunityBot | CC BY-SA 4.0 | a practical explaining |
| Aug 21, 2023 at 12:55 | review | Suggested edits | |||
| S Aug 21, 2023 at 15:11 | |||||
| S Mar 17, 2023 at 13:51 | review | First answers | |||
| Mar 17, 2023 at 15:15 | |||||
| S Mar 17, 2023 at 13:51 | history | answered | MortenB | CC BY-SA 4.0 |