aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-08-23 16:09:01 -0400
committerBill Nottingham <notting@redhat.com>2010-08-23 16:10:12 -0400
commitd7b3926b441601a5fb43eba7604dfd7e83759559 (patch)
treeb0b1ced4cf321eaeb0c16f77b7ca0aeb3765830a
parentf31fe220631c9091b88a8fb536ee5d26c82b78d0 (diff)
downloadinitscripts-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.
-rwxr-xr-xservice1
1 files changed, 1 insertions, 0 deletions
diff --git a/service b/service
index 0fe03fda..276d72ab 100755
--- a/service
+++ b/service
@@ -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