aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Prepare for 2.11.0.1Laurent Bercot2021-12-031-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Full userspace 1-copy s6-ioconnectLaurent Bercot2021-09-251-54/+69
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Doc fixes, s6-socklog min linelen -> 76, s6-ioconnect fixesLaurent Bercot2021-09-252-21/+23
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better error messages for s6-ioconnectLaurent Bercot2021-09-241-3/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Ensure proper detection of s6-svscan not running in all casesLaurent Bercot2021-09-171-0/+1
| | | | 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>
* Pass errno as unsigned charLaurent Bercot2021-09-0211-18/+18
| | | | 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-3070-130/+266
| | | | | | | | | 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-283-2/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svdir-link and s6-svdir-unlinkLaurent Bercot2021-08-289-149/+316
| | | | | | Not tested yet; not documented yet; to come soon. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix lameduck timeout in s6-socklogLaurent Bercot2021-08-191-5/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-socklogLaurent Bercot2021-08-186-124/+345
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix buildLaurent Bercot2021-08-141-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* skalibs-2.11.0.0 API changeLaurent Bercot2021-08-0988-280/+278
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Change to cdb_find_stateLaurent Bercot2021-07-241-2/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.0.0, adapt to skalibs-2.11.0.0 (cdb changes)Laurent Bercot2021-07-2312-117/+107
| | | | 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>
* Trivial syscall number optimizationLaurent Bercot2021-05-211-1/+1
|
* bugfix: rare fd leak in s6-logLaurent Bercot2021-05-061-1/+7
|
* Comment typo fixLaurent Bercot2021-05-061-1/+1
|
* Also allow shared locks in s6lockd-helperLaurent Bercot2021-05-047-35/+52
|
* Add s6-svwait -r | -R supportLaurent Bercot2021-04-251-7/+15
|
* bugfix: umask in s6-usertree-makerLaurent Bercot2021-04-121-4/+5
|
* bugfix: setlock -rLaurent Bercot2021-04-031-3/+19
|