| sysvinit Command | systemd Command | Notes |
|---|---|---|
| service frobozz start | systemctl start frobozz.service | Used to start a service (not reboot persistent) |
| service frobozz stop | systemctl stop frobozz.service | Used to stop a service (not reboot persistent) |
| service frobozz restart | systemctl restart frobozz.service | Used to stop and then start a service |
| service frobozz reload | systemctl reload frobozz.service | When supported, reloads the config file without interrupting pending operations. |
| service frobozz condrestart | systemctl condrestart frobozz.service | Restarts if the service is already running. |
| service frobozz status | systemctl status frobozz.service | Tells whether a service is currently running. |
| ls /etc/rc.d/init.d/ | ls /lib/systemd/system/*.service /etc/systemd/system/*.service systemctl list-units --all | Used to list the services that can be started or stopped Used to list all the services and other units |
| chkconfig frobozz on | systemctl enable frobozz.service | Turn the service on, for start at next boot, or other trigger. |
| chkconfig frobozz off | systemctl disable frobozz.service | Turn the service off for the next reboot, or any other trigger. |
| chkconfig frobozz | systemctl is-enabled frobozz.service | Used to check whether a service is configured to start or not in the current environment. |
| chkconfig frobozz --list | ls /etc/systemd/system/*.wants/frobozz.service | Used to list what levels this service is configured on or off |
| chkconfig frobozz --add | systemctl daemon-reload | Used when you create a new service file or modify any configuration |
"Life is too important to be taken seriously"
Sunday, February 19, 2012
"service" is replaced with "systemctl" in fedora 16
Subscribe to:
Post Comments (Atom)
Blog Archive
-
►
2011
(24)
-
►
March
(13)
- setTimeOut Doesn't Work in IE
- Perl Dancer Interesting Functions
- How to Upload File using Web Form in Perl Dancer
- Multi Cloud Storage API
- DBD::mysql installation
- File upload to http server
- create container using curl
- cdmi server access using curl
- What is Cloud Storage?
- Using Curl to DELETE (delete entry)
- Using Curl to POST (create new entry)
- Using Curl to PUT Rest Web Service
- Using Curl to Access Rest Web Service
-
►
March
(13)
0 comments:
Post a Comment