Difference between revisions of "Systemd"
Line 12: | Line 12: | ||
'''List all active jobs''' | '''List all active jobs''' | ||
− | systemctl list-jobs | + | systemctl list-jobs |
'''Stop and force service off''' | '''Stop and force service off''' | ||
− | systemctl mask name.service | + | systemctl mask name.service |
'''Start and force service on''' | '''Start and force service on''' | ||
− | systemctl unmask name.service | + | systemctl unmask name.service |
Revision as of 22:13, 15 August 2016
'List error by pid
journalctl _PID=number
List all services
systemctl -a
Start a service:
systemctl start name.service
Enable service to start at startup:
systemctl enable name.service
List all active jobs
systemctl list-jobs
Stop and force service off
systemctl mask name.service
Start and force service on
systemctl unmask name.service