I have a service name serviceA in ubuntu16 and at the same time, it's a daemon.

So when I do systemctl daemon-reload does it includes the action of systemctl restart serviceA ?

1 Answer 1



From man systemctl (perhaps the longest man page in the world):

Manager Lifecycle Commands
       Reload the systemd manager configuration. This will rerun all generators (see
       systemd.generator(7)), reload all unit files, and recreate the entire
       dependency tree. While the daemon is being reloaded, all sockets systemd
       listens on behalf of user configuration will stay accessible.

       This command should not be confused with the reload command.

There is a distinction between reload and restart

Unit Commands
   reload PATTERN...
       Asks all units listed on the command line to reload their configuration. Note
       that this will reload the service-specific configuration, not the unit
       configuration file of systemd. If you want systemd to reload the configuration
       file of a unit, use the daemon-reload command. In other words: for the example
       case of Apache, this will reload Apache's httpd.conf in the web server, not
       the apache.service systemd unit file.

       This command should not be confused with the daemon-reload command.

   restart PATTERN...
       Restart one or more units specified on the command line. If the units are not
       running yet, they will be started.
  • 1
    Well daemon-reload can restart a service, for example when RuntimeMaxSec is updated (whatever the new value) some services will be re-run (restarted) even if the value for RuntimeMaxSec is increased!
    – Eric
    Commented Aug 20, 2022 at 10:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .