View | Details | Raw Unified | Return to bug 233083
Collapse All | Expand All

(-)fix/nut_upslog (-1 / +1 lines)
Lines 31-36 Link Here
31
required_dirs="/var/db/nut"
31
required_dirs="/var/db/nut"
32
command="${nut_upslog_prefix}/bin/upslog"
32
command="${nut_upslog_prefix}/bin/upslog"
33
pidfile="/var/db/nut/upslog.pid"
33
pidfile="/var/db/nut/upslog.pid"
34
nut_upslog_flags=${nut_upslog_flags-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"}
34
nut_upslog_flags=${nut_upslog_flags:-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"}
35
35
36
run_rc_command "$1"
36
run_rc_command "$1"
(-)fix/nut_upsmon (-1 / +1 lines)
Lines 29-35 Link Here
29
required_files="${nut_upsmon_prefix}/etc/nut/upsmon.conf"
29
required_files="${nut_upsmon_prefix}/etc/nut/upsmon.conf"
30
command="${nut_upsmon_prefix}/sbin/upsmon"
30
command="${nut_upsmon_prefix}/sbin/upsmon"
31
pidfile="/var/db/nut/upsmon.pid"
31
pidfile="/var/db/nut/upsmon.pid"
32
nut_upsmon_flags=${nut_upsmon_flags-"localhost"}
32
nut_upsmon_flags=${nut_upsmon_flags:-"localhost"}
33
33
34
extra_commands=reload
34
extra_commands=reload
35
stop_cmd="upsmon_stop"
35
stop_cmd="upsmon_stop"

Return to bug 233083