aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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