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 service.

2) Does s6-supervise has the intelligence of findingout $MAINPID as the
systemd does?(
https://systemd-devel.freedesktop.narkive.com/dpY7US7K/a-little-help-with-mainpid-please
)

Thanks,
chaitanya

Reply via email to