]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
service: systemd wrapper default output cat
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 21 Oct 2012 15:14:56 +0000 (15:14 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 21 Oct 2012 15:14:56 +0000 (15:14 +0000)
svn-id: @12593

service

diff --git a/service b/service
index 2060323a79000a683c67d0af4645c5690a856b2e..337465709b829e450180dd84e83d44222c857f22 100755 (executable)
--- a/service
+++ b/service
@@ -185,8 +185,8 @@ while [ $# -gt 0 ]; do
 done
 
 if is_systemd_service "${SERVICE}" "${ACTION}"; then
-       echo >&2 "Redirecting to /bin/systemctl ${ACTION} ${SERVICE}.service ${OPTIONS}"
-       exec /bin/systemctl ${ACTION} ${SERVICE}.service ${OPTIONS}
+       echo >&2 "Redirecting to /bin/systemctl --output=cat ${ACTION} ${SERVICE}.service ${OPTIONS}"
+       exec /bin/systemctl --output=cat ${ACTION} ${SERVICE}.service ${OPTIONS}
 elif [ -x "${SERVICEDIR}/${SERVICE}" ]; then
        exec env -i USE_UPSTART=$USE_UPSTART LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" ${ACTION} ${OPTIONS}
 else
This page took 0.046581 seconds and 4 git commands to generate.