Last active
September 14, 2018 06:53
-
-
Save ytensor42/835894febfb855ee9e02d23c5f35858e to your computer and use it in GitHub Desktop.
sysvinit vs systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sysvinit Systemd | |
| ================================= =================================================================== | |
| service frobozz start systemctl start frobozz | |
| service frobozz stop systemctl stop frobozz | |
| service frobozz restart systemctl restart frobozz | |
| service frobozz reload systemctl reload frobozz | |
| service frobozz condrestart systemctl condrestart frobozz | |
| service frobozz status systemctl status frobozz | |
| ls /etc/rc.d/init.d/ systemctl | |
| systemctl list-unit-files --type=service | |
| ls /lib/systemd/system/*.service /etc/systemd/system/*.service | |
| chkconfig frobozz on systemctl enable frobozz | |
| chkconfig frobozz off systemctl disable frobozz | |
| chkconfig frobozz systemctl is-enabled frobozz | |
| chkconfig --list systemctl list-unit-files --type=service | |
| ls /etc/systemd/system/*.wants/ | |
| chkconfig --list | grep 5:on systemctl list-dependencies graphical.target | |
| chkconfig frobozz --list ls /etc/systemd/system/*.wants/frobozz.service | |
| chkconfig frobozz --add systemctl daemon-reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment