[Pkg-puppet-devel] Bug#515660: Bug#515660: Bug#515660: Bug#515660: service type stops working with Debian's insserv
Russ Allbery
rra at debian.org
Thu Aug 6 20:02:34 UTC 2009
martin f krafft <madduck at debian.org> writes:
> invoke-rc.d --query cron start
>
> This will return 104 if cron would be started in the current
> runlevel, which means that the init.d script symlink exists for the
> runlevel.
>
> If it returns 101 or 106, then cron is disabled by policy (but the
> init.d script exists).
>
> If it returns 100, then the init.d script does not exist.
>
> If it returns 105, then all bets are off.
>
> man invoke-rc.d
Oh, wow, I didn't know about that one. Yeah, that would probably work.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-puppet-devel
mailing list