writing s6 services

From: billa chaitanya <billachaitanya_at_gmail.com>
Date: Wed, 28 Oct 2020 13:31:18 +0530

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
Received on Wed Oct 28 2020 - 08:01:18 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC