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

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: writing s6 services

2020-10-28 Thread Laurent Bercot
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 service/stopping a service. You can do whatever you want in a run script, as

writing s6 services

2020-10-28 Thread billa chaitanya
Hi Team, Have few doubts while creating service files in s6. 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 service/stopping a