SVN: rc-scripts/trunk/service
Arkadiusz Miśkiewicz
arekm at maven.pl
Sat Mar 3 21:44:58 CET 2012
On Saturday 03 of March 2012, glen wrote:
> Modified: rc-scripts/trunk/service
> @@ -118,6 +126,9 @@
>
> if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
> exec env -i USE_UPSTART=$USE_UPSTART LANG=$LANG PATH=$PATH TERM=$TERM
> "${SERVICEDIR}/${SERVICE}" ${ACTION} ${OPTIONS} +elif [ -x
> /bin/systemd_booted ] && systemd_booted; then
> + echo >&2 "Redirecting to /bin/systemctl ${OPTIONS} ${SERVICE}.service"
> + exec /bin/systemctl ${OPTIONS} ${SERVICE}.service
> else
Shouldn't this be made to also prevent service from using init.d/xxx script if
we have systemd xxx.service available?
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the pld-devel-en
mailing list