Hi, I would like to ask if restarting or reloading daemon can have an impact on other daemons and if so then can i somehow check what dependencies are there for daemon that i want to restart or reload (on which other daemons restart or reload will have impact) ? I would like to find out how far is restarting daemon safe for productive system and everything else what is running on the system.
@Lewy No, it does not impact other services generally.
systemctl daemon-reload does not restart all the services either.
It re-initializes the systemctl service itself - the service that manages all the other services.
It is necessary to run that command every time you create, edit or remove a unit file, because it makes the systemd daemon re-read all the unit files.
But it might removes user created cgroup directory under devices and blkio controller and causes applications to not function properly in certain cases.
@Lewy No, it does not impact other services generally.
systemctl daemon-reload does not restart all the services either.
It re-initializes the systemctl service itself - the service that manages all the other services.
It is necessary to run that command every time you create, edit or remove a unit file, because it makes the systemd daemon re-read all the unit files.
But it might removes user created cgroup directory under devices and blkio controller and causes applications to not function properly in certain cases.
I might have been confused by your question, so if you are specifically asking about reload and restart , refer this man page snippet :
Hi Chetan_Tiwary_
First of all thank you for the answer and explanation.
So if i understand it correctly it means that reload or restart of service will influence only this particular service (and what this service is doing) but none other service correct, or is that too overall statement ?
@Lewy yes.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.