about summary refs log tree commit diff
path: root/src/supervision
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: make lock-fd actually work! HEAD masterLaurent Bercot2024-09-121-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revert the fix, it's badLaurent Bercot2024-08-201-23/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentatively fix selfpipe clobbering by notification-fdLaurent Bercot2024-08-181-10/+23
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise: Don't add '(child)' to the end of PROGJosiah Frentsos via skaware2024-06-071-2/+1
| | | | | | | This has been unnecessary since commit 970bbeb622573a80381f0f32e6f287195182c0e0. Signed-off-by: Josiah Frentsos <jfrent@tilde.team>
* Add process group support to s6-superviseLaurent Bercot2024-05-073-39/+95
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.4; also close s6-svscan's stderr on exit when specialLaurent Bercot2024-04-151-0/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.2; fix scheduling of rescans/restarts in s6-svscanLaurent Bercot2023-11-201-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: s6-svscan didn't delay killing until scan. Prepare for 2.12.0.1.Laurent Bercot2023-11-081-13/+28
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.12.0.0 v2.12.0.0Laurent Bercot2023-11-061-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise: don't warn on ENOENT for ./finishLaurent Bercot2023-10-271-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Defork s6-supervise (!)Laurent Bercot2023-09-111-127/+79
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.14Laurent Bercot2023-09-094-30/+35
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use open safe wrappers; remove debug boilerplateLaurent Bercot2023-07-061-64/+11
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Loosen nonzero servicedirs requirement on s6-svwait/s6-svlistenLaurent Bercot2023-06-252-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Document new s6-svscan optionsLaurent Bercot2023-06-241-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More better debug infoLaurent Bercot2023-06-201-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More debug informationLaurent Bercot2023-06-201-12/+33
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New and improved s6-svscanLaurent Bercot2023-06-141-337/+470
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svc -s; prepare for 2.11.4.0Laurent Bercot2023-05-251-2/+30
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Simplify selfpipe managementLaurent Bercot2023-04-075-13/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svc -QLaurent Bercot2023-02-062-25/+26
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More bugfixesLaurent Bercot2023-01-112-63/+56
| | | | | | And doc fixes Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Next batch of fixesLaurent Bercot2023-01-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add instances implementation (still needs testing)Laurent Bercot2023-01-091-7/+38
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svwait shouldn't exit early on supervisor deathLaurent Bercot2022-12-055-25/+34
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svc: typo fixLaurent Bercot2022-11-301-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.13.0.0Laurent Bercot2022-11-2918-18/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise QoL: only skip 1-second restart delay when service was readyLaurent Bercot2022-10-041-13/+23
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svscan QoL: close stdout on exit if catch-all logger is presentLaurent Bercot2022-09-281-3/+13
| | | | | | This should allow the catch-all logger to exit at the same time. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add upper limit to -c in s6-svscanLaurent Bercot2022-08-212-1/+2
| | | | | | Also document it, and document changes to s6-supervise Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Pass service name as an argument to the service scriptLaurent Bercot2022-08-201-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise: also closethem() on -x in LASTFINISH for consistencyLaurent Bercot2022-06-281-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svscan: treat s6-svscan-log as a logger for s6-svscanctl purposesLaurent Bercot2022-06-281-22/+31
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: s6-supervise: -x should closethem() even in LASTUP stateLaurent Bercot2022-06-281-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.1.1; adapt to skalibs-2.12.0.0Laurent Bercot2022-06-082-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix s6-svunlink PROGLaurent Bercot2021-09-081-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* svlink bugfixLaurent Bercot2021-09-071-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use checkservicedir() in s6-svlinkLaurent Bercot2021-09-021-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove race conditions in early services with this ONE SIMPLE TRICKLaurent Bercot2021-08-311-0/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svlink, s6-svunlink, .h changesLaurent Bercot2021-08-3017-66/+89
| | | | | | | | | Renamed from s6-svdir-(un)link. Doc added. Full functionality added. Still need to be tested. Unrelated: .h names simplified. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svdir-(un)link fixesLaurent Bercot2021-08-282-1/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svdir-link and s6-svdir-unlinkLaurent Bercot2021-08-284-0/+147
| | | | | | Not tested yet; not documented yet; to come soon. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* skalibs-2.11.0.0 API changeLaurent Bercot2021-08-0915-58/+49
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add lock-fd feature to s6-superviseLaurent Bercot2021-06-181-25/+93
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svwait -r | -R supportLaurent Bercot2021-04-251-7/+15
|
* bugfix: unignore SIGPIPE before execing a user-controlled processLaurent Bercot2021-02-114-0/+17
|
* Fix build with nsss; fix s6_supervise_link() for logged servicesLaurent Bercot2020-12-051-0/+1
|
* Fix s6-svscan startupLaurent Bercot2020-12-041-15/+21
|
* Big signal/command semantics change to svscan/supervise; add s6-svperms.Laurent Bercot2020-12-046-68/+320
|
* Fix lock permissionsLaurent Bercot2020-12-022-6/+6
|