Difference between revisions of "Linux: SystemD"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "# List all running services sytemctl # Start/stop or enable/disable services systemctl start foo.service systemctl stop foo.service systemctl restart foo.service systemct...") |
(No difference)
|
Revision as of 23:05, 7 March 2018
- List all running services
sytemctl
- Start/stop or enable/disable services
systemctl start foo.service systemctl stop foo.service systemctl restart foo.service systemctl status foo.service systemctl enable foo.service systemctl disable foo.service
- Check if service is enabled
systemctl is-enabled foo.service; echo $?
Source: Useful SystemD Commands