Created
June 4, 2012 14:21
-
-
Save Mouad-BGD/2868701 to your computer and use it in GitHub Desktop.
manages services in linux
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
| systemctl start mysqld.service | |
| systemctl stop mysqld.service | |
| systemctl enable mysqld.service Enable the service over reboots (which just sets up some symlinks in the relevant dirs). same as chkconfig mysqld on | |
| systemctl disable mysqld.service | |
| systemctl status mysqld.service | |
| If you want to use the service commands they should still work as well: | |
| service mysqld start | |
| service mysqld stop | |
| chkconfig mysqld on | |
| chkconfig mysqld off | |
| more info about systemctl | |
| http://0pointer.de/blog/projects/systemd-for-admins-1.html | |
| http://0pointer.de/blog/projects/systemd-for-admins-2.html | |
| http://0pointer.de/blog/projects/systemd-for-admins-3.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment