Comandos Systemd e Comandos Sysvinit
Systemd Command ------------------------------- Sysvinit Command
systemctl start fooserv ------------------------ service fooserv start
systemctl stop fooserv ------------------------- service fooserv stop
systemctl restart fooserv ---------------------- service fooserv restart
systemctl reload fooserv ----------------------- service fooserv reload
systemctl condrestart fooserv ------------------ service fooserv condrestart
systemctl status fooserv ----------------------- service fooserv status
systemctl list-unit-files --type=service ------- ls /etc/rc.d/init.d/
systemctl enable fooserv ----------------------- chkconfig fooserv on
systemctl disable fooserv ---------------------- chkconfig fooserv off
systemctl is-enabled fooserv ------------------- chkconfig fooserv
systemctl list-unit-files --type=service ------- chkconfig --list
ls /etc/systemd/system/*.wants/fooserv.service - chkconfig fooserv --list
systemctl daemon-reload ------------------------ chkconfig fooserv --add
systemctl isolate multi-user.target ------------ telinit 3
systemctl halt --------------------------------- halt
systemctl poweroff ----------------------------- poweroff
systemctl reboot ------------------------------- reboot
systemctl suspend ------------------------------ pm-suspend
systemctl hibernate ---------------------------- pm-hibernate
journalctl -f ---------------------------------- tail -f /var/log/messages
systemd-analyze
é um novo comando para verificar o tempo de inicialização
systemctl mask
é uma versão mais strong de systemctl disable
. Isto irá ligar estas unidades a / dev / null, tornando impossível iniciá-las.