Re: writing s6 services

2020-11-03 Thread billa chaitanya
On Wed, Oct 28, 2020 at 7:31 PM Laurent Bercot wrote: > >1) Is there a possibility to add an ENV variable dynamically? > >I have a shell script which fills out some variables like > >IPADDRESS, SERVER etc .. which I need to use in starting a process later > >as part of starting a

Re: socket based service bringup

2020-11-03 Thread Laurent Bercot
Is it s6-ipcserver which can be used to make an s6 socket based service equivalent .socket service in systemd? For unix-domain sockets, yes, it is. For inet-domain sockets, the equivalent is s6-tcpserver, available in the s6-networking package. -- Laurent

socket based service bringup

2020-11-03 Thread billa chaitanya
Hi Team, Is it s6-ipcserver which can be used to make an s6 socket based service equivalent .socket service in systemd? $ cat /lib/systemd/system/dbus.socket ListenStream=/var/run/dbus/system_bus_socket $ Thanks, chaitanya

Re: writing s6 services

2020-11-03 Thread Guillermo
El mar., 3 nov. 2020 a las 8:48, billa chaitanya escribió: > > >So, Is there any variable we can use inside run or finish > > script of a service equivalent to the pid of the process started inside > > run script? The PID of the supervised process will be the same as that of the