diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-03-21 17:40:41 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-03-22 14:42:25 +0100 |
commit | c2450ed1f4e6ac3e4772f151eb33f64c68b96488 (patch) | |
tree | 50d01e784cf8207ca4b0cb14001c6ea67ebecd16 | |
parent | d9aa1eec7782bc5158b0d0824d241948a31b9290 (diff) | |
download | initscripts-c2450ed1f4e6ac3e4772f151eb33f64c68b96488.tar initscripts-c2450ed1f4e6ac3e4772f151eb33f64c68b96488.tar.gz initscripts-c2450ed1f4e6ac3e4772f151eb33f64c68b96488.tar.bz2 initscripts-c2450ed1f4e6ac3e4772f151eb33f64c68b96488.tar.xz initscripts-c2450ed1f4e6ac3e4772f151eb33f64c68b96488.zip |
9.70-sync: service file updated
-rwxr-xr-x | service | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,8 +82,8 @@ if [ -f "${SERVICEDIR}/${SERVICE}" ]; then elif [ -x "${ACTIONDIR}/${SERVICE}/${ACTION}" -a -n "${ACTION}" ]; then env -i PATH="$PATH" TERM="$TERM" SYSTEMCTL_IGNORE_DEPENDENCIES=${SYSTEMCTL_IGNORE_DEPENDENCIES} SYSTEMCTL_SKIP_REDIRECT=${SYSTEMCTL_SKIP_REDIRECT} "${ACTIONDIR}/${SERVICE}/${ACTION}" ${OPTIONS} elif `echo $ACTION | egrep -qw "start|stop|restart|try-restart|reload|force-reload|status|condrestart"` ; then - echo $"Redirecting to /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE}.service" >&2 SERVICE_MANGLED=$(/usr/bin/systemd-escape --mangle ${SERVICE}) + echo $"Redirecting to /bin/systemctl ${ACTION}${OPTIONS:+ }${OPTIONS} ${SERVICE_MANGLED}" >&2 exec /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE_MANGLED} else echo $"The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl." >&2 |