Bug#727708: init system thoughts
Anthony Towns <aj@erisian.com.au> writes:
> To emulate systemd dependencies in an event model (ie, X depends on
> Y), you'd need to do either:
>
> * change Y's job to say "start on starting X"
> * add "stop on stopping Y" to X's job description
>
> or
>
> * add a pre-start script to X in order to start Y first
> * add "stop on stopping Y" to X's job description
>
> The latter looks like it's the documented way of doing things.
But maybe not the working and/or recommend one:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708#3150 (the quoted
parts are important).
Best,
Nikolaus
--
Encrypted emails preferred.
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
»Time flies like an arrow, fruit flies like a Banana.«
Reply to: