Hi, Matteo Bernardini wrote: >this is not related to LXC, this behaviour is the same outside of a >container: you have to use the Slackware standard way to add >additional services at startup and shutdown. > >runit_start () { > /usr/bin/runsv /service >} >
Yes that works, but try this instead: runit_start () { /usr/bin/runsv /service & } allowing both rc.runit and rc.local to finish (unless you want bash running continously), however runsv just exits without a trace. This works with several other of my rc scripts. In bash '&' normally means background the process, but here the process just disappears (with no output or exit code). Using your script none of the rest of rc.local after you start rc.runit will be executed until rc.runit stops. Regards, spaceman _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users