aboutsummaryrefslogtreecommitdiffstats
path: root/src/supervision/s6-svscan.c
Commit message (Collapse)AuthorAgeFilesLines
* s6-svscan bugfix: -L impacts namemax, not maxLaurent Bercot2026-03-311-1/+1
|
* Merge branch '2.15.0.0'Laurent Bercot2026-03-181-68/+86
|\
| * s6-svscan trivial fix; s6-svunlink bugfix; start prep for 2.15.0.0Laurent Bercot2026-03-171-1/+1
| | | | | | | | | | | | | | | | s6_supervise_unlink_names can spawn a s6-ftrigrd to wait for an 'x' event. This creates a fifodir under $scandir/$name/event. But after the unlink, $scandir/$name doesn't exist anymore, so s6-ftrigrd fails to clean it up. To fix that, we subscribe with the realpath of $scandir/$name instead.
| * Refactor ftrig using sass; clean up API a bit, update its usersLaurent Bercot2026-03-161-68/+86
| |
* | s6-svscan: remove broken optimization for inactive removalLaurent Bercot2026-02-201-11/+3
|/
* Add initial cleanup to s6-svscanLaurent Bercot2026-01-241-2/+21
|
* s6-svscan can be the last living piece of a deleted s6 version and still workLaurent Bercot2025-12-241-1/+1
|
* 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>
* Adapt to skalibs-2.14Laurent Bercot2023-09-091-25/+29
| | | | 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>
* 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-336/+469
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.13.0.0Laurent Bercot2022-11-291-1/+1
| | | | 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-211-0/+1
| | | | | | Also document it, and document changes to s6-supervise 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>
* s6-svlink, s6-svunlink, .h changesLaurent Bercot2021-08-301-1/+1
| | | | | | | | | 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>
* skalibs-2.11.0.0 API changeLaurent Bercot2021-08-091-7/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix s6-svscan startupLaurent Bercot2020-12-041-15/+21
|
* Big signal/command semantics change to svscan/supervise; add s6-svperms.Laurent Bercot2020-12-041-1/+1
|
* Fix lock permissionsLaurent Bercot2020-12-021-1/+1
|
* Fix build against skalibs-2.10.0.0Laurent Bercot2020-12-021-1/+46
|
* Adapt to new exec.hLaurent Bercot2020-11-281-20/+10
|
* Prepare for 2.10.0.0 ; store preliminary changes to s6-svscan/ctl.Laurent Bercot2020-11-271-74/+84
|
* Add SIGPWR and SIGWINCH support to s6-svscanLaurent Bercot2020-02-181-0/+8
|
* Use execv() where applicableLaurent Bercot2020-01-161-3/+3
|
* Restore console fd on s6-svscan execLaurent Bercot2020-01-151-0/+11
|
* Add console holder functionality to s6-svscanLaurent Bercot2020-01-151-3/+14
|
* Adapt to new stopwatch APILaurent Bercot2019-09-061-2/+1
|
* Separate wall clocks from stopwatchesLaurent Bercot2019-09-041-0/+1
|
* bugfix: s6-svscan not always honoring scan deadlineLaurent Bercot2018-10-221-1/+1
|
* Add -d notif to s6-svscan; this is only shallow readiness.Laurent Bercot2018-04-201-3/+17
|
* Switch to xpathexec_*Laurent Bercot2017-08-281-2/+1
|
* Adapt to skalibs-2.5.0.0Laurent Bercot2017-03-121-16/+15
|
* Types fix, first passLaurent Bercot2017-01-121-6/+6
|
* - s6-svscan defaults to -t0 instead of -t5000Laurent Bercot2016-03-181-1/+1
| | | | - rc for v2.3.0.0, waiting to update deps before releasing
* - add -s support to s6-svscanLaurent Bercot2015-10-061-7/+42
| | | | | - change examples to support -s - change examples to invoke s6-rc, remove servicedirs
* - minor bugfix in s6-log (correct return when stat() fails)v2.2.1.1Laurent Bercot2015-10-051-0/+1
| | | | | | | - remove fucking -Bsymbolic - add s6-setsid to stage 1 example - prepare shutdown functionality for s6-svscan - version: 2.2.1.1
* s6-svscan bugfix: remove inactive dead services after the next scanLaurent Bercot2015-09-011-5/+16
|
* - Add support for SIGUSR1 for poweroff in s6-svscanLaurent Bercot2015-06-171-1/+9
| | | | - Optimize respawn delay in s6-supervise
* - added the s6_fdholder library to libs6. (Nothing useful yet.)Laurent Bercot2015-01-191-4/+3
| | | | | | | | | | - fixed execline invocation in s6-log with slashpackage - integrated s6_svc_main.c's functionality into s6-svscanctl and deleted it - integrated Olivier Brunel's suggestions for wstat report in supervise/status - minor fixes to s6-supervise's status reports - separated sigaction calls in ftrigw_notifyb, this spares a few syscalls in s6-supervise - updated doc to reflect the changes - version bumped to 2.1.0.0 because API breakage (./finish, s6-svstat)
* Initial commitLaurent Bercot2014-12-051-0/+498