aboutsummaryrefslogtreecommitdiff
path: root/man/start-stop-daemon.8
AgeCommit message (Collapse)Author
2022-03-05Add Posix Scheduling Support to start-stop-daemon (#497)sad-goldfish
2022-02-06linux: Add support for No New Privs flagLinkTed
This add No New Privs flag for start-stop-daemon and supervise-daemon by adding --no-new-privs flag. As a result, the user set the No New Privs flag for the program should run with. see PR_SET_NO_NEW_PRIVS prctl(2)
2022-02-06capabilities: Add support for securebits flagsLinkTed
This adds securebits flags for start-stop-daemon and supervise-daemon by adding --secbits option. As a result, the user can specify securebits the program should run with. see capabilities(7)
2021-12-23capabilities: Add support for Linux capabilities(7)LinkTed
This adds capabilities for start-stop-daemon by adding --capabilities option. As a result, the user can specify the inheritable, ambient and bounding set by define capabilities in the service script. This fixes #314.
2021-12-22add option for OOM score adjustmentMatt Whitlock
This commit adds a new --oom-score-adj option to start-stop-daemon and supervise-daemon, as well as an equivalent SSD_OOM_SCORE_ADJ environment variable. If either of these are specified (with the command-line option taking precedence), then the specified adjustment value is written to /proc/self/oom_score_adj after forking but prior to exec'ing the daemon (at the time when nice and ionice are applied). Additionally, per a suggestion by Mike Frysinger, the suggested values for the SSD_NICELEVEL, SSD_IONICELEVEL, and SSD_OOM_SCORE_ADJ variables in the example config file are now given as zeros, which are the kernel's default values of these process knobs for the init process at boot. Note that uncommenting any of these zero-valued suggestions will cause SSD/SD to set the corresponding process knob affirmatively to zero, whereas leaving the variable unset (and the equivalent command- line option unspecified) means SSD/SD will not change the corresponding process knob from its inherited value. See: https://github.com/OpenRC/openrc/pull/435#discussion_r688310672 This fixes #435.
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.
2021-02-02start-stop-daemon: fix typo in manpagesqozz
2018-06-15start-stop-daemon: add ability to log stdout or stderr to processesWilliam Hubbs
2018-03-12man: document default retry sppecification for start-stop-daemonWilliam Hubbs
2016-12-05man/start-stop-daemon.8: clarify documentation about --pidfile optionWilliam Hubbs
The documentation implied that if you stop a daemon we handle multiple pids in a pid file. This is not correct. We only handle the first pid. X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601540
2016-07-26start-stop-daemon: Add SSD_IONICELEVELKenneth Lakin
This is the disk IO counterpart to SSD_NICELEVEL. Modified by William Hubbs to add the variable to the start-stop-daemon man page. This fixes #69.
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
2014-06-21man/start-stop-daemon.8: correct argument from --nice to --nicelevelWilliam Hubbs
X-Gentoo-Bug: 510648 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=510648
2012-01-22WhitespaceChristian Ruppert
2011-12-30Reword the documentation for the retry option for start-stop-daemonWilliam Hubbs
2011-12-31Fix the description of --retry in start-stop-daemon(8)Christian Ruppert
X-Gentoo-Bug: 368615 X-Gentoo-Bug-URL: https://bugs.gentoo.org/368615 Reported-by: Stuart Shelton <srcshelton@gmail.com>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-08random spelling fixesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-12-14start-stop-daemon can now set process IO scheduling.Roy Marples
2009-10-15fix wait time for gentoo bug 288495William Hubbs
The wait time was in seconds. This patch converts it to milliseconds.
2009-09-04Add -P to start-stop-daemon to display a . for each second elapsed.Roy Marples
Fixes #197.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-22Document -i, --interpreted flag.Roy Marples
2009-04-19-w, --wait secondsRoy Marples
New option so you can set the number of seconds to wait for and check the daemon is still running. The old code that periodically polled wasn't that reliable - in this case simpler == better. Fixes #160
2009-03-05Typo, thanks to Polynomial-CRoy Marples
2009-01-01Document the --chuid option.Roy Marples
2008-12-30Typo.Roy Marples
2008-11-04TypoRoy Marples
2008-11-03--nice is -N, not -n. Also, correct default timeout.Roy Marples
2008-09-26Stop ssd from waiting by default - most daemons are good now.Roy Marples
2008-09-22Document the --verbose option.Roy Marples
2008-09-22s-s-d now handles interpreted daemons more easily.Roy Marples
2008-09-19Style.Roy Marples
2008-08-20Add -k,--umask option, Gentoo #232455.Roy Marples
2008-07-27Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples
maybe working better with interpreted scripts.
2008-03-29Document SSD_NICELEVEL.Roy Marples
2008-02-24Force the specification of a pidfile or process name if daemon is a script. ↵Roy Marples
Alternatively, document the use of starting the script interpreter and passing the daemon as an option.
2008-02-22Welcome to 2008.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-17Restore the --env option.Roy Marples
2007-12-17Rework the manpages into mdoc format for easier maintainenceRoy Marples
2007-11-14relicense as 2-clause BSD, with the kind permission of GentooRoy Marples
2007-05-02SSD_NICELEVEL can now affect the nicelevel for daemons startedRoy Marples
by start-stop-daemon, #175397.
2007-04-13s-s-d now allows --signal to be used without --stop and --oknodo. man page ↵Roy Marples
updated accordingly
2007-04-05Rewrite the core parts in C. We now provide librc so other programs canRoy Marples
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.