8 examples for systemctl
# enable a service called bro to start automatically (as root)
systemctl enable bro.service
# or (as a sudoer)
sudo systemctl enable bro.service
# start listening on port 6600 and start mpd (as a normal user) upon a connection
systemctl --user start mpd.socket
# start listening on automatically on user session start
systemctl --user enable mpd.socket
# start a service called bro (run as root)
systemctl start bro.service
# or (as a sudoer)
sudo systemctl start bro.service
# stop a service called bro (as root)
systemctl stop bro.service
# or (as a sudoer)
sudo systemctl stop bro.service