cancel
Showing results for 
Search instead for 
Did you mean: 
Lewy
Cadet
Cadet
  • 354 Views

can one daemon reload/restart impact on other daemons?

Jump to solution

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.

1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 337 Views

@Lewy No, it does not impact other services generally.

Screenshot.png

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.

View solution in original post

4 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 338 Views

@Lewy No, it does not impact other services generally.

Screenshot.png

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.

Chetan_Tiwary_
Community Manager
Community Manager
  • 335 Views

I might have been confused by your question, so if you are specifically asking about reload and restart , refer this man page snippet :

Screenshot.png

Lewy
Cadet
Cadet
  • 267 Views

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 ?

Chetan_Tiwary_
Community Manager
Community Manager
  • 258 Views

@Lewy yes.

Join the discussion
You must log in to join this conversation.