aboutsummaryrefslogtreecommitdiffstats
path: root/src/supervision
Commit message (Collapse)AuthorAgeFilesLines
* Add s6-notifyoncheckLaurent Bercot2017-08-192-0/+249
|
* Add s6_svc_lock_take() and s6_svc_lock_release()Laurent Bercot2017-07-121-1/+1
| | | | | | Allows fixing a race condition in s6-rc-init. s6-supervise also creates event/ before supervise/ so that locking the servicedir ensures event/ can be used.
* Add ftrigr_checksa(), rewrite s6_svlisten_loop() around itLaurent Bercot2017-06-141-15/+26
| | | | | | | - Fixes the race condition hit by permanent failure, i.e. two ftrig events close to each other - Requires storing the sequence of events client-side, so an additional stralloc, bleh - The visible struct ftrigr_s changes, so a major bump is needed -> prepare for 2.6.0.0 - ftrigr_check() is now a trivial wrapper around ftrigr_checksa()
* Add the timeout-kill feature to s6-supervise. Prepare for version 2.5.1.0.Laurent Bercot2017-05-191-2/+21
|
* bugfix: s6-svstat accepts -w, not -WLaurent Bercot2017-05-091-1/+1
|
* Fix trailing nulls in s6-svstat's outputLaurent Bercot2017-04-131-2/+2
|
* Clarify permanent failure API for s6-svwait -r and friends; update docLaurent Bercot2017-03-273-27/+20
|
* Stop using flagwant; new s6-svstat API; s6-svwait's timeout exitcode is now 99Laurent Bercot2017-03-253-47/+229
|
* Implement permanent failure for services via ./finish exiting 125Laurent Bercot2017-03-205-13/+38
|
* Change setpgrp() to setpgid(0, 0) because lolBSD don't have a standard ↵Laurent Bercot2017-03-141-1/+1
| | | | | | setpgrp(). How the fuck are the BSDs even still alive?
* Cleanup of superfluous includesLaurent Bercot2017-03-131-5/+0
|
* Fix argument order in memchr() !Laurent Bercot2017-03-122-2/+2
|
* Adapt to skalibs-2.5.0.0Laurent Bercot2017-03-1210-70/+64
|
* setpgrp() when nosetsid contains "setpgrp" (asked by Buck Evans)Laurent Bercot2017-02-191-2/+11
|
* Two-space indentation please :PLaurent Bercot2017-01-281-2/+2
|
* code style fix, types change in docLaurent Bercot2017-01-281-1/+1
|
* supervise: set down&ready (D) even on LASTFINISHOlivier Brunel2017-01-281-1/+7
| | | | Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Types fix, first passLaurent Bercot2017-01-129-25/+28
|
* Apply Eric's patch for spawn supportLaurent Bercot2016-08-161-0/+1
|
* Add spawn_lib supportLaurent Bercot2016-08-123-0/+3
|
* - 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
* Fix argc check in s6-svlisten1Laurent Bercot2016-02-021-1/+1
|
* Use bracket expression instead of alternation in svlisten regexv2.2.4.3Laurent Bercot2016-01-081-1/+1
|
* - Fix selfpipe_read() invocation: the return is int, not charLaurent Bercot2015-11-301-2/+1
| | | | - Easier CROSS_COMPILE support in configure
* Agh! SIGWINCH isn't POSIX!Laurent Bercot2015-10-121-0/+3
|
* Add SIGWINCH support to s6-supervise and s6-svc (-y)Laurent Bercot2015-10-122-10/+16
|
* - 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
* Fix display of readiness at service startupLaurent Bercot2015-09-171-0/+1
|
* Add specific exit to s6-svstat when service is unsupervisedLaurent Bercot2015-09-081-0/+3
|
* add s6_svc_ok in libs6, refactor s6-svokLaurent Bercot2015-09-012-20/+5
|
* s6-svscan bugfix: remove inactive dead services after the next scanLaurent Bercot2015-09-011-5/+16
|
* - New -wr | -wR options to s6-svc, s6-svlisten1 and s6-svlistenLaurent Bercot2015-08-273-11/+32
| | | | | - skalibs and execline dep bump - rc for 2.2.1.0 unless more new functionality is needed for s6-rc
* - Add timeout-finish support and "down-readiness"Laurent Bercot2015-07-2015-485/+291
| | | | | | | - LOTS of refactoring to make this work - Remove s6-notifywhenup - s6-supervise now rocks the casbah - rc for 2.2.0.0
* - Error message fix in s6-svcv2.1.6.0Laurent Bercot2015-06-251-1/+1
| | | | - version: 2.1.6.0
* - doc fixes (changed mentions of s6-notifywhenup)Laurent Bercot2015-06-252-15/+55
| | | | | - s6-svc -X - rc for 2.1.6.0
* - Add support for SIGUSR1 for poweroff in s6-svscanLaurent Bercot2015-06-172-5/+20
| | | | - Optimize respawn delay in s6-supervise
* - Readiness notification support in s6-superviseLaurent Bercot2015-06-152-26/+102
| | | | | | - s6-notifywhenup deprecated - Change abundantly documented - rc for 2.1.4.0
* Warn when s6-svc is used with several argumentsLaurent Bercot2015-03-201-0/+1
|
* - doc fixesLaurent Bercot2015-03-162-5/+11
| | | | - added -X to s6-notifywhenup
* Fix typo in error messageLaurent Bercot2015-03-071-1/+1
|
* - Revert LASTFINISH special case (closing stdin/out) in s6-supervise.Laurent Bercot2015-03-011-10/+0
| | | | | (To be watched, but loggers should exit once s6-supervise exits.) - Change Colin's email address
* Add readiness support to s6-svstatLaurent Bercot2015-01-203-6/+120
|
* Change "signal TERM" to "signal SIGTERM" in s6-svstatLaurent Bercot2015-01-191-0/+3
|
* - added the s6_fdholder library to libs6. (Nothing useful yet.)Laurent Bercot2015-01-194-26/+114
| | | | | | | | | | - 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)
* - s6-svlisten and s6-svlisten1Laurent Bercot2015-01-166-11/+376
| | | | | - Synchronous s6-svc - version 2.0.2.0, rc
* - Parallel build fixv2.0.1.0Laurent Bercot2015-01-148-15/+36
| | | | | - Complete readiness notification via supervise/ready - Version updated to 2.0.1.0, release candidate
* Add $SOCKET_LIB dependencies everywhere, because SolarisLaurent Bercot2014-12-161-0/+1
|
* Make ./event subdir private with s6-supervise's gid instead of public by defaultLaurent Bercot2014-12-071-1/+1
|
* Bugfix: WTERMSIG, not WIFSIGNAL for 2nd argument to ./finish in s6-superviseLaurent Bercot2014-12-051-1/+1
|