aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Better s6-setlock; delete the s6lock subsystemLaurent Bercot2023-09-1119-672/+61
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.14Laurent Bercot2023-09-099-134/+49
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* child_spawn_workaround is public nowLaurent Bercot2023-09-082-5/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add ucspiserver.h, support posix_spawn() in s6-ipcserverdLaurent Bercot2023-09-086-41/+162
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use open safe wrappers; remove debug boilerplateLaurent Bercot2023-07-062-68/+15
| | | | 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-336/+469
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt s6-fdholderd to fixed iter_func typeLaurent Bercot2023-06-141-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add -t lastlinetimeout option to s6-logLaurent Bercot2023-05-261-31/+40
| | | | 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-077-21/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove obsolete declarationLaurent Bercot2023-03-091-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.3.1, rlimit shenanigansLaurent Bercot2023-02-261-4/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Autodetect socket endpoints in s6-ioconnect, deprecate -0167Laurent Bercot2023-02-091-17/+28
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Copy the new template, not the old one!Laurent Bercot2023-02-081-10/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6_servicedir_instances_recreate_offline functionsLaurent Bercot2023-02-084-0/+90
| | | | | | | This will be used for more transparent instance management in s6-rc. 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>
* Don't create instance/instances subdirs in s6-rc source defsLaurent Bercot2023-01-311-8/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.2.1, move template location, change file listLaurent Bercot2023-01-313-6/+20
| | | | 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>
* Add s6-instance-list, s6-instance-status (no doc yet)Laurent Bercot2023-01-1011-37/+196
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Next batch of fixesLaurent Bercot2023-01-095-6/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* First batch of fixes, more to come >.>Laurent Bercot2023-01-095-21/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add instances implementation (still needs testing)Laurent Bercot2023-01-099-9/+283
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor libs6auto, add s6-instance-maker (untested)Laurent Bercot2022-12-2312-192/+477
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Update execline dep; s6-envdir QoLLaurent Bercot2022-12-211-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-log: add p directive to add a prefix to every lineLaurent Bercot2022-12-071-17/+48
| | | | 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-ipcclient: more typo fixesLaurent Bercot2022-11-301-1/+1
| | | | 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-2964-64/+64
| | | | 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>
* bugfix: s6-accessrules-fs-from-cdb's incorrectly terminated stringLaurent Bercot2022-09-211-3/+3
| | | | | | Also overview typo fix. 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>
* Factor s6_auto_write_logrun into a new libs6autoLaurent Bercot2022-08-206-42/+78
| | | | | | libs6auto distinct from libs6 because of execline dep. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6_servicedir_file_listLaurent Bercot2022-08-183-0/+50
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix allread errno managementLaurent Bercot2022-07-181-0/+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-086-6/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add noclamp option to s6-envdirLaurent Bercot2022-02-271-2/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-log: restart event loop when closing stdin on signalLaurent Bercot2021-12-241-5/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-log: clarify last_stdin logicLaurent Bercot2021-12-241-13/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-socklog: also ensure stderr is openLaurent Bercot2021-12-051-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>