[monit/services] modifications nut
darcs-hash:20091229154146-ffbb2-4e6f6a547701b83d7d186352c64a711588ffc704.gz
This commit is contained in:
parent
dfe0df7d21
commit
e7ba6309c6
1 changed files with 5 additions and 3 deletions
|
@ -160,10 +160,12 @@ service("syslog-ng",
|
||||||
extra=["depend on file/var/log/syslog"])
|
extra=["depend on file/var/log/syslog"])
|
||||||
|
|
||||||
service("ups-monitor",
|
service("ups-monitor",
|
||||||
|
name="upsmon",
|
||||||
|
pidf="nut/upsmon")
|
||||||
|
|
||||||
|
service("ups-server",
|
||||||
name="upsd",
|
name="upsd",
|
||||||
pidf="nut/upsd",
|
pidf="nut/upsd")
|
||||||
start_cmd="/sbin/upsd",
|
|
||||||
stop_cmd='/usr/bin/killall upsd')
|
|
||||||
|
|
||||||
if has('adm-only'):
|
if has('adm-only'):
|
||||||
vsftpd_ip = admip()
|
vsftpd_ip = admip()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue