[Bug 462792] [NEW] no way to set options to daemon such as kill-on-powerfail
Dmitry Ljautov
dmitry at itserv.biz
Wed Oct 28 18:21:16 UTC 2009
Public bug reported:
Binary package hint: apcupsd
I wonder is there ubuntu way to hibernate APC UPS on powerfail ?
I'd like to add options (listed in `apcupsd -h`) to apcupsd daemon.
I need --kill-on-powerfail to apcupsd to hibernate UPS on powerfail.
For example I'd like to have APCUPSDOPTIONS (may be blank by default) in /etc/default/apcupsd
APCUPSDOPTIONS="--kill-on-powerfail"
And put options to start-stop-daemon /etc/init.d/apcupsd:
start-stop-daemon start quiet exec $DAEMON -- $APCUPSDOPTIONS
Works good for me.
** Affects: apcupsd (Ubuntu)
Importance: Undecided
Status: New
--
no way to set options to daemon such as kill-on-powerfail
https://bugs.launchpad.net/bugs/462792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list