aboutsummaryrefslogtreecommitdiff
path: root/sh/start-stop-daemon.sh
AgeCommit message (Collapse)Author
2017-11-29add more variables for start-stop-daemon and supervise-daemon optionsJulien Reichardt
Add the following variables to expose more arguments that can be passed to start-stop-daemon or supervise-daemon: - directory will be passed to --chdir - error_log will be passed to --stderr - output_log will be passed to --stdout - umask will be passed to umask This is for #184.
2016-09-20Revert "Remove eval calls from supervisor start functions"William Hubbs
This reverts commit 0d1f1010c299a95332f224c3be9e8dfdd85eec54. We need the eval in case someone uses something like: command_args="this \"is a\" test" This is related to #77.
2016-09-19Remove eval calls from supervisor start functionsWilliam Hubbs
This fixes #77.
2016-09-16Add command_progress variableWilliam Hubbs
If this is set to yes, 1, true, or on, start-stop-daemon will display a progress meter while waiting for a daemon to stop.
2016-09-13Make use of name vs RC_SVCNAME consistent in supervisor scriptsWilliam Hubbs
This fixes #79.
2016-05-19start-stop-daemon.sh: fix regression in chroot supportWilliam Hubbs
The support for the chroot variable was broken in 0.16, this fixes that breakage.
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-10-02start-stop-daemon.sh: complain in start if command is undefinedWilliam Hubbs
The default start-stop-daemon start function expects the command variable to be defined to point to the daemon we want to start. If the variable is undefined, this means that there will be nothing to start, and in this case we should complain because it is possible that the script writer made a typo in the variable name.
2015-05-11Rework supervisor integration frameworkWilliam Hubbs
The original way of doing this allowed users to change the supervisor in conf.d/*. This changes this so that the supervisor setup can be done in the service script itself.
2015-05-08Make the default start, stop and status functions overridableWilliam Hubbs
This will make it possible to add support for supervision suites such as runit and s6.