Linux Services
How to Enable or Disable Services in Ubuntu Systemd/Upstart
modern: systemd
- systemctl
sudo systemctl status <service>
sudo systemctl stop <service>
sudo systemctl start <service>
sudo systemctl disable <service>
sudo systemctl enable <service>
sudo systemctl list-unit-files | grep enabled
sudo systemctl | grep running
sudo systemctl list-units --type=service --state=running
sudo systemctl list-units --type=service --state=active