This is an old revision of the document!


systemctl

Used to manage systemd services


start/stop enable/disable

# start service when server boots, will not start service if server is already running
# can also use disable 
sudo systemctl enable service-name
 
# start service on already running server
# can also use restart or stop
sudo systemctl start service-name

List services

systemctl --type=service