Difference between revisions of "Systemd"

From Leaky
Jump to: navigation, search
(systemd tips)
(No difference)

Revision as of 18:45, 6 August 2017

Project page: https://freedesktop.org/wiki/Software/systemd/

Page with some useful info: https://wiki.archlinux.org/index.php/Systemd

Assorted commands

Reload all units

systemctl daemon-reload

Equivalent of

chkconfig unitname on

is

systemctl enable unitname

Equivalent of

service unitname start

is

systemctl start unitname

If you've created a file in /etc/systemd/system/ and you need to edit it, you can use

systemctl edit --full unitname

This will open the file in your editor and reload it afterwards. If you've edited the file directly, simply reload it afterwards with

systemctl reenable unitname