aboutsummaryrefslogtreecommitdiff
path: root/sh/s6.sh
AgeCommit message (Collapse)Author
2021-12-20use HEAD in git URIs to point to the default branchMike Frysinger
This makes the URIs shorter and dynamic: whatever the default branch the repo uses will be used.
2018-10-13misc: whitespace fixesAustin English
2017-11-16s6 supervisor fixesWilliam Hubbs
Add the ability to force-kill a service if it does not go down successfully. Also, adjust the default wait time for an s6 service to go down to 60 seconds.
2016-09-13Make use of name vs RC_SVCNAME consistent in supervisor scriptsWilliam Hubbs
This fixes #79.
2016-01-19sh/s6.sh: update s6-svc syntax to be valid for 2.2.0.0+Colin Booth
The s6-svc syntax changed for wait-up, wait-ready, wait-down, and wait-finished. This changes the s6 handling script to use the current valid syntax. This fixes #65.
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2015-05-14S6: kick the scanner and sleep 1.5 seconds to avoid a race conditionWilliam Hubbs
2015-05-14s6: Use s6-svc -Dd to stop servicesWilliam Hubbs
This allows us to get rid of the sleep call in the stop function. Also, we set a configurable timeout value for stopping daemons.
2015-05-13More s6 fixesWilliam Hubbs
- When no service link is in the scan directory, show the default stopped message. - Do not remove the service link when stopping the service.
2015-05-13Fix the s6 handlingWilliam Hubbs
This changes the default s6 service directory to /var/svc.d, also it changes the code to work with the individual services instead of forcing a rescan when a service is started or stopped.
2015-05-11Add support for the s6 supervision suiteWilliam Hubbs