Summary: | sys-power/nut: upslog fails to start due to missing options in init script. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gustav Schaffter <gustav.schaffter> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jstein, prometheanfire, web |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gustav Schaffter
2017-12-23 13:03:41 UTC
My solution was: 1) create a /etc/conf.d/upslog file like # Config file for /etc/init.d/upslog # UPS to log UPS="APCSMC1500@localhost" # log file LOG="/var/log/upslog.log" # switch user #USER="nut" 2) edit /etc/init.d/upslog file like start() { ebegin "Starting upslog" start-stop-daemon --start --quiet --exec ${bin} -- -s ${UPS} -l ${LOG} eend $? } 3) restart service That works for me. :-) |