Changes

Jump to navigation Jump to search
434 bytes added ,  23:05, 7 March 2018
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:
[https://www.dynacont.net/documentation/linux/Useful_SystemD_commands/ Useful SystemD Commands]

Navigation menu