Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | start-stop-daemon: fix do_stop calls | William Hubbs | 2013-10-06 |
| | | | | | | | | | 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. | ||
* | start-stop-daemon: fix eerorr calls in get_pid | William Hubbs | 2013-09-30 |
| | | | | | | 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. | ||
* | start-stop-daemon: remove the verbose variable | William Hubbs | 2013-09-24 |
| | | | | | | 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. | ||
* | start-stop-daemon: remove the quiet variable | William Hubbs | 2013-09-23 |
| | | | | | | | | 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 | ||
* | start-stop-daemon: remove redundant test of the quiet value | William Hubbs | 2013-08-26 |
| | | | | | | 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. | ||
* | start-stop-daemon: fix --quiet switch | William Hubbs | 2013-08-26 |
| | | | | | | | | | | 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 | ||
* | Add support for DragonFly BSD | Gary | 2013-07-25 |
| | |||
* | Spacing fixes | William Hubbs | 2012-10-17 |
| | |||
* | 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 | 2012-09-12 |
| | | | | file and the first get__pid() call may fail. | ||
* | Do not silence errors | Christian Ruppert | 2012-08-19 |
| | |||
* | add a new ARRAY_SIZE macro and use it | Mike Frysinger | 2012-05-06 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | Skip pam if running as root | William Hubbs | 2012-02-23 |
| | | | | | | 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 | ||
* | rc: fix style around case_RC_COMMON_GETOPT | Mike Frysinger | 2011-11-19 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | ssd: fix building when SYS_ioprio_set is missing | Mike Frysinger | 2011-11-09 |
| | | | | | | Older glibc's might not provide this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | Start-stop-daemon: remove call to pam_authenticate | Diego | 2011-09-01 |
| | |||
* | Add --startas/-a back to the optstring | Christian Ruppert | 2011-06-30 |
| | | | | | X-Gentoo-Bug: 373609 X-Gentoo-Bug-URL: https://bugs.gentoo.org/373609 | ||
* | drop useless "All rights reserved" notice | Mike Frysinger | 2011-06-29 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | Only print the deprecation warning for --chuid/-c when using it | Joe Harvell | 2011-06-27 |
| | | | | | The deprecation warning has been printed when using the replecement functions as well, bug 373243. | ||
* | Warn if deprecated commandline options are used for start-stop-daemon | Christian Ruppert | 2011-06-05 |
| | |||
* | start-stop-daemon: use termios.h rather than sys/termios.h | Mike Frysinger | 2011-01-17 |
| | | | | | | POSIX specifies termios.h, not sys/termios.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | Style fix: "while (" not "while(". | Robin H. Johnson | 2011-01-17 |
| | |||
* | Clean up all trailing whitespace in src/. | Robin H. Johnson | 2011-01-17 |
| | |||
* | start-stop-daemon can now set process IO scheduling. | Roy Marples | 2009-12-14 |
| | |||
* | fix wait time for gentoo bug 288495 | William Hubbs | 2009-10-15 |
| | | | | The wait time was in seconds. This patch converts it to milliseconds. | ||
* | Add -P to start-stop-daemon to display a . for each second elapsed. | Roy Marples | 2009-09-04 |
| | | | | Fixes #197. | ||
* | Really fix --signal 0 | Roy Marples | 2009-09-04 |
| | |||
* | Fix signed error. | Roy Marples | 2009-09-04 |
| | |||
* | Allow any valid numeric signal and not just what we define. | Roy Marples | 2009-09-01 |
| | |||
* | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | 2009-05-23 |
| | | | | | | | | 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. | ||
* | Unset PAM environment variables if not set | Roy Marples | 2009-05-07 |
| | |||
* | Add (c) to Copyright | Roy Marples | 2009-05-01 |
| | |||
* | Avoid more gcc warning about not checking return values ... | Roy Marples | 2009-04-30 |
| | |||
* | Improve style for KNF | Roy Marples | 2009-04-23 |
| | |||
* | Add the -i, --interpreted option. | Roy Marples | 2009-04-22 |
| | | | | | | | | 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. | ||
* | -w, --wait seconds | Roy Marples | 2009-04-19 |
| | | | | | | | | | 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 | ||
* | Fix unmask option, thanks to douglas@openplans.org, #146 | Roy Marples | 2009-02-10 |
| | |||
* | Fix ordering, #139 thanks to Matthias. | Roy Marples | 2009-01-12 |
| | |||
* | Copyright | Roy Marples | 2009-01-11 |
| | |||
* | Ensure that $HOME and $USER are always set, #139 | Roy Marples | 2009-01-11 |
| | |||
* | Parse retry schedule correctly, #129. Thanks to vaeth. | Roy Marples | 2008-12-28 |
| | |||
* | We should match on the correct args for stopping daemons when pidfiles | Roy Marples | 2008-12-23 |
| | | | | | are not being used. | ||
* | Save a needless malloc when re-creating PATH. | Roy Marples | 2008-11-12 |
| | |||
* | Don't set user info unless stated. | Roy Marples | 2008-11-11 |
| | |||
* | Fix stopping with a faulty pidfile. | Roy Marples | 2008-11-10 |
| | |||
* | Fix sending signals, #121. | Roy Marples | 2008-11-03 |
| | |||
* | Plug a leak and expand exec also. | Roy Marples | 2008-10-30 |
| | |||
* | Allow ~ and ~user to expand for chdir and chroot. | Roy Marples | 2008-10-30 |
| | |||
* | Fix --name when stopping, Gentoo #243088. | Roy Marples | 2008-10-30 |
| | |||
* | Properly set PAM enviornment variables after opening session. | Roy Marples | 2008-10-29 |
| | | | | | | | Without this change, modules like pam_mktemp or pam_env and similar will be unable to change users' environments, like they are supposed to. |