Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-23 | helpers.h, start-stop-daemon.c: remove uneeded macros | Anthony G. Basile | |
TAILQ_CONCAT, TAILQ_FOREACH_SAFE and LIST_FOREACH_SAFE are defined in our bundled queue.h and are no longer required. | |||
2014-10-23 | Bundle <sys/queue.h> from NetBSD | Anthony G. Basile | |
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>. | |||
2013-10-06 | start-stop-daemon: fix do_stop calls | William Hubbs | |
Several calls to do_stop were forcing the test parameter to be true, which was causing extra output to the terminal, such as: * Would send signal 0 to pid xxxxx This should only happen if the --test command line option was used. | |||
2013-09-30 | start-stop-daemon: fix eerorr calls in get_pid | William Hubbs | |
The eerror calls in this function make it too verbose, so change them to ewarnv() calls instead. This means that they will only print if the --verbose option is used or EINFO_VERBOSE=yes is set in the environment. | |||
2013-09-24 | start-stop-daemon: remove the verbose variable | William Hubbs | |
Along the same lines as the quiet variable, this is controlled by an environment variable for the einfo code, so we do not need a separate boolean flag. | |||
2013-09-23 | start-stop-daemon: remove the quiet variable | William Hubbs | |
The suppression of output is controlled in the e* functions themselves, so there is no need for a variable to test in start-stop-daemon. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 | |||
2013-08-26 | start-stop-daemon: remove redundant test of the quiet value | William Hubbs | |
The einfo() function tests for the EINFO_QUIET environment variable directly, and this is the variable that is set by the --quiet flag, so there was no reason for this test to exist. | |||
2013-08-26 | start-stop-daemon: fix --quiet switch | William Hubbs | |
The --quiet switch wasn't really quiet, because we changed it to report errors. I am changing it back due to discussions on the listed bugs. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174 | |||
2013-07-25 | Add support for DragonFly BSD | Gary | |
2012-10-17 | Spacing fixes | William Hubbs | |
2012-09-12 | Silence the right get_pid() call | Christian Ruppert | |
2012-09-12 | Silence get_pid(), OpenRC will give the process some time to create the PID ↵ | Christian Ruppert | |
file and the first get__pid() call may fail. | |||
2012-08-19 | Do not silence errors | Christian Ruppert | |
2012-05-06 | add a new ARRAY_SIZE macro and use it | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2012-02-23 | Skip pam if running as root | William Hubbs | |
Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com> X-Gentoo-Bug: 386623 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=386623 | |||
2011-11-19 | rc: fix style around case_RC_COMMON_GETOPT | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-11-09 | ssd: fix building when SYS_ioprio_set is missing | Mike Frysinger | |
Older glibc's might not provide this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-09-01 | Start-stop-daemon: remove call to pam_authenticate | Diego | |
2011-06-30 | Add --startas/-a back to the optstring | Christian Ruppert | |
X-Gentoo-Bug: 373609 X-Gentoo-Bug-URL: https://bugs.gentoo.org/373609 | |||
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-06-27 | Only print the deprecation warning for --chuid/-c when using it | Joe Harvell | |
The deprecation warning has been printed when using the replecement functions as well, bug 373243. | |||
2011-06-05 | Warn if deprecated commandline options are used for start-stop-daemon | Christian Ruppert | |
2011-01-17 | start-stop-daemon: use termios.h rather than sys/termios.h | Mike Frysinger | |
POSIX specifies termios.h, not sys/termios.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Style fix: "while (" not "while(". | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2009-12-14 | start-stop-daemon can now set process IO scheduling. | Roy Marples | |
2009-10-15 | fix wait time for gentoo bug 288495 | William Hubbs | |
The wait time was in seconds. This patch converts it to milliseconds. | |||
2009-09-04 | Add -P to start-stop-daemon to display a . for each second elapsed. | Roy Marples | |
Fixes #197. | |||
2009-09-04 | Really fix --signal 0 | Roy Marples | |
2009-09-04 | Fix signed error. | Roy Marples | |
2009-09-01 | Allow any valid numeric signal and not just what we define. | Roy Marples | |
2009-05-23 | Move non compiled libraries from /lib/rc to /libexec/rc | Roy 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-07 | Unset PAM environment variables if not set | Roy Marples | |
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-30 | Avoid more gcc warning about not checking return values ... | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-04-22 | Add 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 seconds | Roy 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-10 | Fix unmask option, thanks to douglas@openplans.org, #146 | Roy Marples | |
2009-01-12 | Fix ordering, #139 thanks to Matthias. | Roy Marples | |
2009-01-11 | Copyright | Roy Marples | |
2009-01-11 | Ensure that $HOME and $USER are always set, #139 | Roy Marples | |
2008-12-28 | Parse retry schedule correctly, #129. Thanks to vaeth. | Roy Marples | |
2008-12-23 | We should match on the correct args for stopping daemons when pidfiles | Roy Marples | |
are not being used. | |||
2008-11-12 | Save a needless malloc when re-creating PATH. | Roy Marples | |
2008-11-11 | Don't set user info unless stated. | Roy Marples | |
2008-11-10 | Fix stopping with a faulty pidfile. | Roy Marples | |
2008-11-03 | Fix sending signals, #121. | Roy Marples | |
2008-10-30 | Plug a leak and expand exec also. | Roy Marples | |
2008-10-30 | Allow ~ and ~user to expand for chdir and chroot. | Roy Marples | |