aboutsummaryrefslogtreecommitdiff
path: root/src/rc/start-stop-daemon.c
AgeCommit message (Collapse)Author
2011-09-01Start-stop-daemon: remove call to pam_authenticateDiego
2011-06-30Add --startas/-a back to the optstringChristian Ruppert
X-Gentoo-Bug: 373609 X-Gentoo-Bug-URL: https://bugs.gentoo.org/373609
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-27Only print the deprecation warning for --chuid/-c when using itJoe Harvell
The deprecation warning has been printed when using the replecement functions as well, bug 373243.
2011-06-05Warn if deprecated commandline options are used for start-stop-daemonChristian Ruppert
2011-01-17start-stop-daemon: use termios.h rather than sys/termios.hMike Frysinger
POSIX specifies termios.h, not sys/termios.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17Style fix: "while (" not "while(".Robin H. Johnson
2011-01-17Clean up all trailing whitespace in src/.Robin H. Johnson
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-09-04Really fix --signal 0Roy Marples
2009-09-04Fix signed error.Roy Marples
2009-09-01Allow any valid numeric signal and not just what we define.Roy Marples
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-07Unset PAM environment variables if not setRoy Marples
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-30Avoid more gcc warning about not checking return values ...Roy Marples
2009-04-23Improve style for KNFRoy Marples
2009-04-22Add the -i, --interpreted option.Roy Marples
This enables the code to include the daemons interpreter when matching process name which fixes bug #164. Existing init scripts that rely on the old behaviour will need to be fixed.
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-02-10Fix unmask option, thanks to douglas@openplans.org, #146Roy Marples
2009-01-12Fix ordering, #139 thanks to Matthias.Roy Marples
2009-01-11CopyrightRoy Marples
2009-01-11Ensure that $HOME and $USER are always set, #139Roy Marples
2008-12-28Parse retry schedule correctly, #129. Thanks to vaeth.Roy Marples
2008-12-23We should match on the correct args for stopping daemons when pidfilesRoy Marples
are not being used.
2008-11-12Save a needless malloc when re-creating PATH.Roy Marples
2008-11-11Don't set user info unless stated.Roy Marples
2008-11-10Fix stopping with a faulty pidfile.Roy Marples
2008-11-03Fix sending signals, #121.Roy Marples
2008-10-30Plug a leak and expand exec also.Roy Marples
2008-10-30Allow ~ and ~user to expand for chdir and chroot.Roy Marples
2008-10-30Fix --name when stopping, Gentoo #243088.Roy Marples
2008-10-29Properly set PAM enviornment variables after opening session.Roy Marples
Without this change, modules like pam_mktemp or pam_env and similar will be unable to change users' environments, like they are supposed to.
2008-10-06#ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples
valgrind debuggers need it.
2008-09-26Stop ssd from waiting by default - most daemons are good now.Roy Marples
2008-09-22Our match arguments could be different from the exec arguments, as only the ↵Roy Marples
kernel should set script arguments.
2008-09-22Allow interpreted daemons to detect interperter options.Roy Marples
2008-09-18Clean up some compile warnings.Roy Marples
2008-09-17Allow interpreted daemons to use s-s-d a little easier.Roy Marples
2008-08-20Actually set the umask.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-07-08STAILQ -> TAILQRoy Marples
2008-05-27Be quiet when checking at start.Roy Marples
2008-05-27When stopping with a pidfile, only read the pid once incase it vanishes but ↵Roy Marples
the process still hangs around.
2008-04-17Cast to unsigned char for ctype calls.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-19Typo.Roy Marples