table of contents
service(8) | System Manager's Manual | service(8) |
NAME¶
service - run service
SYNOPSIS¶
service SERVICE ACTION [OPTIONS]
service --status-all
service --help | -h
DEPRECATED¶
The service command has been deprecated and will be removed in a future release. It is superseded by systemctl(1).
DESCRIPTION¶
The SERVICE parameter specifies a systemd service name to operate on. The supported values of ACTION depend on the specified service. The actions start, stop, reload, restart, try-restart, force-reload, and status are forwarded to systemctl, OPTIONS are ignored in that case.
The --status-all option displays the status of all loaded service units.
HISTORY¶
service used to run System V init scripts in a predictable environment.
USE AS rc* WRAPPER¶
SUSE Linux distributions used to have convenience symlinks to call System V init scripts, for example /usr/sbin/rcexample -> /etc/init.d/example. With the move to systemd this has been deprecated and the rc* symlinks will be removed.
SEE ALSO¶
chkconfig(8), systemctl(1) systemd.service(5)
Sep 2014 |