[asterisk] On le monitor

This commit is contained in:
Valentin Samir 2013-06-17 02:37:02 +02:00
parent 61547be1a8
commit f8dd72fb56
2 changed files with 9 additions and 0 deletions

View file

@ -282,6 +282,7 @@
profile="true">
<Group name="crans-domu-squeeze"/>
<Bundle name="check_cert" />
<Group name="asterisk-server" />
</Group>
<Group name="canard"

View file

@ -73,6 +73,14 @@ if has('gunicorn'):
pidf = "gunicorn/%s" % site,
)
if has('asterisk-server'):
service(name="sms_queuing")
service('asterisk-server',
pidp="/var/run/asterisk/asterisk.pid",
start_cmd = "/etc/init.d/asterisk start",
stop_cmd = "/etc/init.d/asterisk stop",
)
service("at",
init="atd",
pidf="atd")