From d7b3926b441601a5fb43eba7604dfd7e83759559 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 23 Aug 2010 16:09:01 -0400 Subject: Be somewhat noisy when we're frobbing a native systemd service. --- service | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1