[monit/services] netacct-sixxs2 depends on aiccu
http://mmonit.com/monit/documentation/monit.html#dependencies
This commit is contained in:
parent
8f1e36836a
commit
459d3f83fe
1 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,8 @@ check process %(name)s with pidfile %(pidp)s
|
||||||
if line:
|
if line:
|
||||||
print " ", line
|
print " ", line
|
||||||
print " if %d restarts within 5 cycles then timeout" % max_restart
|
print " if %d restarts within 5 cycles then timeout" % max_restart
|
||||||
|
if kw.has_key('depends_on'):
|
||||||
|
print " depends on " + ', '.join(kw['depends_on'])
|
||||||
print
|
print
|
||||||
|
|
||||||
service("apache",
|
service("apache",
|
||||||
|
@ -141,7 +143,9 @@ if has("comptage-upload"):
|
||||||
service(None,
|
service(None,
|
||||||
name="netacct-crans-sixxs2",
|
name="netacct-crans-sixxs2",
|
||||||
pidf="netacct-crans-sixxs2",
|
pidf="netacct-crans-sixxs2",
|
||||||
init="netacct-crans-sixxs2")
|
init="netacct-crans-sixxs2",
|
||||||
|
depends_on=['aiccu'],
|
||||||
|
)
|
||||||
service(None,
|
service(None,
|
||||||
name="mac_ip",
|
name="mac_ip",
|
||||||
pidf="mac_ip",
|
pidf="mac_ip",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue