Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 325 Bytes

systemd-services.md

File metadata and controls

20 lines (15 loc) · 325 Bytes

Start / stop / check a service

systemctl status sshd.service
systemctl start sshd.service
systemctl stop sshd.service

Make a service start (or not start) on boot

systemctl enable sshd.service
systemctl disable sshd.service

Edit a service

vi /usr/lib/systemd/system/sshd.service