Photo by Arian Darvishi on Unsplash

Systemd Systemctl a Poem

Ezzy Elliott

--

systemctl is systemd for system control
start is systemctl command to start an application
stop is systemctl command to stop an application
reload reloads files for configuration
restart starts application again if no reload
reload-or-restart restarts if cannot reload
enable makes systemd start services automatically
disable stops services from starting automatically
status prints what the application is doing magically
is-active, is-enabled, is-failed checks specific states
list-units gives a list of currently active units
systemctl by itself does the same as list-units
cat is used to display a unit file

See https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units

--

--

Ezzy Elliott
Ezzy Elliott

Written by Ezzy Elliott

Makers Academy coding boot camp, qualified accountant. Autism Campaigner. Mad about Coding, Hackney, Civil Rights and Mobile Phones.

No responses yet