Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am learning more about systemd which command correctly picks up changes to a service unit configuration made under systemd ?

systemctl daemon-restart
systemctl reboot
systemctl daemon-reload
systemctl daemon-reexec 
1

1 Answer

systemctl daemon-reload

Is the one you want to use. It will reload the systemd manager configuration. This will rerun all generators, reload all unit files, and recreate the entire dependency tree.

systemctl daemon-reexec

Will reexecute the systemd manager. This will serialize the manager state, reexecute the process and deserialize the state again. This command is of little use except for debugging and package upgrades. Sometimes, it might be helpful as a heavy-weight daemon-reload.

systemctl reboot

Will reboot the system and as a result, changes to services configuration will be picked up after the reboot.

systemctl daemon-restart

Will not work. daemon-restart is not a valid argument for systemctl

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy