Hi, On 07/04/2014 13:50, Gerrit Pape wrote: > Important thing to know is: init scripts don't work out for this. The > service management concept of daemontools and runit is, amongst other > things, a process tree with guaranteed process state, including > envrionment. init scripts don't provide that.
Something similar to an entry in inittab should be easy to achieve with systemd: it starts all processes in a controlled environment, can monitor them and restart services on exit/failure. Of course systemd will see all processes managed by daemontools-run as belonging to the daemontools-run service, but that should not be too bad. Something like +--- | [Unit] | Description=daemontools service supervision | Documentation=man:svscanboot(8) | | [Service] | ExecStart=/usr/bin/svscanboot | Restart=always | | [Install] | WantedBy=multi-user.target +--- might already be enough as a .service file for daemontools. Ansgar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org