The officially official Devuan Forum!

You are not logged in.

#1 2021-05-20 10:45:07

bimon
Member
Registered: 2019-09-09
Posts: 172  

How to activate S6 init together with OpenRC?

Hello,

I use OpenRC with my Devuan installation.

Now I would like to extend it with S6 supervisor.

Please let me know how to activate it?

I have installed following packages and rebooted.

root@chimaera:/usr/share/doc/s6# dpkg -al | grep s6
ii  libfs6:amd64                                                2:1.0.8-1                                                 amd64        X11 Font Services library
ii  libncurses6:amd64                                           6.2+20201114-2                                            amd64        shared libraries for terminal handling
ii  libs6-2.10:amd64                                            2.10.0.2-1                                                amd64        small and secure supervision software suite (shared library)
ii  s6                                                          2.10.0.2-1                                                amd64        small and secure supervision software suite
ii  s6-doc 

I still do not see S6 process tree which is present for example in linuxserver.io docker images.

May be docs contain this info, but I would like at least a fast start into beginning of using it and then learn it deeper.

Last edited by bimon (2021-05-20 10:58:27)

Offline

#2 2021-05-20 13:55:48

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Re: How to activate S6 init together with OpenRC?

I have not got round to looking at S6 yet, but don't you just need to insert

supervisor=s6

into the OpenRC service script for a particular service.

https://github.com/OpenRC/openrc/blob/m … 6-guide.md

Geoff

Offline

Board footer