Linux: SystemD
Revision as of 23:05, 7 March 2018 by 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...")
- 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