Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
Command Description

systemctl
start
servicename
service

Start   a   service

systemctl   stop
servicename
service

Stop    a   service

systemctl
restart
servicename
service

Restart a   service

systemctl
reload
servicename
service

Reload  a   service (this   only    tells   the service to  reload  its
configuration files, rather than restart the entire
service; typically, restarting is a safer option)

systemctl
status
servicename
service

Show    the status  of  a   service

systemctl
condrestart
servicename
service

Restart a   service if  it  is  already running

systemctl
enable
servicename
service

Enable  a   service at  startup

systemctl
disable
servicename
service

Disable a   service at  startup (typically  to  remove  a
service from the list of those starting automatically at
boot)

A few standard commands are replaced in systemd, including the ones in

Free download pdf