Summary: | sys-apps/openrc: start-stop-daemon(1) should allow --retry for --signal as well | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Michał Górny <mgorny> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | CONFIRMED --- | ||
Severity: | trivial | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/OpenRC/openrc/issues/76 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
2011-09-09 06:57:31 UTC
Uhm, I can't follow you.. --retry is only used in combination with the --stop command, it can be either a timeout value or signal/timeout combined (like SIGTERM/5). --signal is only used for the kill signal. SYNOPSIS start-stop-daemon -S, --start daemon [--] [arguments] start-stop-daemon -K, --stop daemon start-stop-daemon -s, --signal signal daemon I think I meant the third syntax. @idl0r | mgorny: re bug 382345 - please give me an example or so. i still don't get it :P @mgorny | idl0r: eh, if I did remember what I was doing at that time @mgorny | but I think it was very hacky @mgorny | maybe I wanted to send two signals at once, or a single signal with a delay @mgorny | (something like --signal 0 --retry 30/SIGTER<) @mgorny | but the bug was just about 'is it legit to use something like --signal HUP --retry 15/TERM?' I think what you want is something like --retry 0/HUP,15/TERM The --signal option is not part of stopping a daemon. Does that give you what yu are looking for? (In reply to comment #4) > I think what you want is something like > > --retry 0/HUP,15/TERM > > The --signal option is not part of stopping a daemon. > > Does that give you what yu are looking for? Were. Right now, I don't use OpenRC anymore and I have no idea what I needed that for :P. @mgorny: In that case, would you have any issues with us closing this bug as resolved/needinfo? After speaking with mgorny on irc, this bug appears to just be a documentation issue. We need todocument that --retry can work with --signal. |