Systemd Services
·1 min
Table of Contents
List all running services #
$ sudo systemctl
Start/stop services #
$ sudo systemctl start <name>.service
$ sudo systemctl stop <name>.service
$ sudo systemctl restart <name>.service
Enable/disable services #
$ sudo systemctl enable <name>.service
$ sudo systemctl disable <name>.service
Check Status of Service #
$ sudo systemctl status <name>.service
Reload service daemon #
$ sudo systemctl daemon-reload
Edit service file #
$ sudo nano /etc/systemd/system/<filename>.service
Delete service file #
$ sudo rm -f /etc/systemd/system/<filename>.service