How do i stop/start a systemd managed service?
-
To stop. Change the cups service to your service.
$ sudo systemctl stop cups
To start. Change the cups service to your service.
$ sudo systemctl start cups
The two steps below can be combined by running.
$ sudo systemctl restart cups
Where a configuration file has been changed, to get the daemon to re-read the file, traditionally done by issuing a "kill -1 <pid>". In systemd managed service do the following:
$ sudo systemctl reload cups
© Lightnetics 2024