Author: glen
Date: Sun Oct 21 17:14:56 2012
New Revision: 12593
Modified:
rc-scripts/trunk/service
Log:
service: systemd wrapper default output cat
Modified: rc-scripts/trunk/service
==============================================================================
--- rc-scripts/trunk/service (original)
+++ rc-scripts/trunk/service Sun Oct 21 17:14:56 2012
@@ -185,8 +185,8 @@
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit