diff options
author | Bill Nottingham <notting@redhat.com> | 2010-08-23 16:09:01 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-08-23 16:10:12 -0400 |
commit | d7b3926b441601a5fb43eba7604dfd7e83759559 (patch) | |
tree | b0b1ced4cf321eaeb0c16f77b7ca0aeb3765830a /service | |
parent | f31fe220631c9091b88a8fb536ee5d26c82b78d0 (diff) | |
download | initscripts-d7b3926b441601a5fb43eba7604dfd7e83759559.tar initscripts-d7b3926b441601a5fb43eba7604dfd7e83759559.tar.gz initscripts-d7b3926b441601a5fb43eba7604dfd7e83759559.tar.bz2 initscripts-d7b3926b441601a5fb43eba7604dfd7e83759559.tar.xz initscripts-d7b3926b441601a5fb43eba7604dfd7e83759559.zip |
Be somewhat noisy when we're frobbing a native systemd service.
Diffstat (limited to 'service')
-rwxr-xr-x | service | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ done if [ -f "${SERVICEDIR}/${SERVICE}" ]; then env -i PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS} elif [ -f "${SYSTEMDSERVICEDIR}/${SERVICE}.service" ]; then + echo $"Redirecting to /bin/systemctl ${OPTIONS} ${SERVICE}.service" >/dev/stderr exec /bin/systemctl ${OPTIONS} ${SERVICE}.service else echo $"${SERVICE}: unrecognized service" >&2 |