[monit] Correction d'un bug dans les formats

darcs-hash:20091029170636-ffbb2-3439bba650ff2394dcd5a0ebf6c404821363a45c.gz
This commit is contained in:
Nicolas Dandrimont 2009-10-29 18:06:36 +01:00
parent ebedfc23f0
commit 3704449a51

View file

@ -27,8 +27,8 @@ def service(group, **kw):
stop_cmd = kw.get('stop_cmd', '/etc/init.d/%s stop' % init)
print ('''# %(name)s
check process %(name)s with pidfile %(pidp)s
start program = "%(start_cmd)"
stop program = "%(stop_cmd)"''' % locals())
start program = "%(start_cmd)s"
stop program = "%(stop_cmd)s"''' % locals())
max_restart = kw.get('max_restart', 5)
for line in kw.get('extra', []):