[monit] Correction d'un bug dans les formats
darcs-hash:20091029170636-ffbb2-3439bba650ff2394dcd5a0ebf6c404821363a45c.gz
This commit is contained in:
parent
ebedfc23f0
commit
3704449a51
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ def service(group, **kw):
|
||||||
stop_cmd = kw.get('stop_cmd', '/etc/init.d/%s stop' % init)
|
stop_cmd = kw.get('stop_cmd', '/etc/init.d/%s stop' % init)
|
||||||
print ('''# %(name)s
|
print ('''# %(name)s
|
||||||
check process %(name)s with pidfile %(pidp)s
|
check process %(name)s with pidfile %(pidp)s
|
||||||
start program = "%(start_cmd)"
|
start program = "%(start_cmd)s"
|
||||||
stop program = "%(stop_cmd)"''' % locals())
|
stop program = "%(stop_cmd)s"''' % locals())
|
||||||
|
|
||||||
max_restart = kw.get('max_restart', 5)
|
max_restart = kw.get('max_restart', 5)
|
||||||
for line in kw.get('extra', []):
|
for line in kw.get('extra', []):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue