How do i check a service is running using systemd?
-
Check if the CUPS services are running.
$ systemctl | grep cup cups.path loaded active waiting CUPS Printer Service Spool cups.service loaded active running CUPS Printing Service cups.socket loaded active running CUPS Printing Service Sockets
systemctl give you a massive list so it's best to use grep.
© Lightnetics 2024