Il giorno mar 18 set 2018 alle ore 13:30 spaceman
ha scritto:
>
> 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.
> >
>
Quoting spaceman (space...@antispaceman.com):
> Serge E. Hallyn wrote:
>
> Hi,
>
> >> # /etc/rc.d/rc.local
> >>
> >> /usr/bin/runsvdir /services &
> >
> >Is it pid 1 doing this? Does it go on to exit?
> >
>
> pid 1 for the container is init which sets off the boot process and
> operates
Serge E. Hallyn wrote:
Hi,
>> # /etc/rc.d/rc.local
>>
>> /usr/bin/runsvdir /services &
>
>Is it pid 1 doing this? Does it go on to exit?
>
pid 1 for the container is init which sets off the boot process and
operates normally and doesn't exit. Don't really understand the
question.
Regards,
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
Il giorno lun 17 set 2018 alle ore 19:08 spaceman
ha scritto:
>
> Hi,
>
> Using a stock LXC Slackware container can anyone tell me why I cannot do
> this:
>
> # /etc/rc.d/rc.local
>
> /usr/bin/runsvdir /services &
>
> If I remove the ampersand it runs fine, but with the ampersand it fails
> to
Quoting spaceman (space...@antispaceman.com):
> Hi,
>
> Using a stock LXC Slackware container can anyone tell me why I cannot do
> this:
>
> # /etc/rc.d/rc.local
>
> /usr/bin/runsvdir /services &
Is it pid 1 doing this? Does it go on to exit?
> If I remove the ampersand it runs fine, but