aboutsummaryrefslogtreecommitdiffstats
path: root/service.8
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-17 19:56:43 +0100
committerColin Guthrie <colin@mageia.org>2013-10-18 09:35:39 +0100
commit9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3 (patch)
tree3a122662900195e7b14067a03cd5124358db9daf /service.8
parent423b437e3d29673dfad4051515506e6d711d20e6 (diff)
parent8f5a82934f801ec94847fc899d235a39df9967a7 (diff)
downloadinitscripts-9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3.tar
initscripts-9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3.tar.gz
initscripts-9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3.tar.bz2
initscripts-9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3.tar.xz
initscripts-9cec39ee7ef6a745c3a9b19d1ba6e89b09da43c3.zip
Merge tag 'initscripts-9.50-1' into distro/mgauser/colin/update-to-9-50
Tag as initscripts-9.50-1 Conflicts: Makefile lang.csh lang.sh po/Makefile rc.d/init.d/network service sysconfig.txt sysconfig/init sysconfig/network-scripts/ifup sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ippp sysconfig/network-scripts/network-functions sysctl.conf systemd/fedora-storage-init
Diffstat (limited to 'service.8')
-rw-r--r--service.813
1 files changed, 12 insertions, 1 deletions
diff --git a/service.8 b/service.8
index be0d6e32..2cd0c039 100644
--- a/service.8
+++ b/service.8
@@ -65,6 +65,14 @@ runs all init scripts, in alphabetical order, with the
.B status
command.
+If the init script file does not exist, the script tries to use
+.B legacy actions.
+If there is no suitable legacy action found and
+.I COMMAND
+is one of actions specified in LSB Core Specification, input is redirected to the
+.B systemctl.
+Otherwise the command fails with return code 2.
+
.SH FILES
.TP
\fB/etc/init.d\fR
@@ -77,4 +85,7 @@ The only environment variables passed to the init scripts.
.SH SEE ALSO
.BR chkconfig (8),
-.BR ntsysv(8)
+.BR ntsysv(8),
+.BR systemd (1),
+.BR systemctl (8),
+.BR systemd.service (5)