supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* writing s6 services
@ 2020-10-28  8:01 billa chaitanya
  2020-10-28 14:01 ` Laurent Bercot
  0 siblings, 1 reply; 4+ messages in thread
From: billa chaitanya @ 2020-10-28  8:01 UTC (permalink / raw)
  To: supervision

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-03 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28  8:01 writing s6 services billa chaitanya
2020-10-28 14:01 ` Laurent Bercot
2020-11-03 11:48   ` billa chaitanya
2020-11-03 16:54     ` Guillermo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).