Certains services n'ont pas de commande status, bcfg2 ne peut pas les gérer

This commit is contained in:
Pierre-Elliott Bécue 2015-05-10 15:21:02 +02:00
parent b849fe8444
commit fb85a3f792
6 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
<!-- Règles pour arpwatch //-->
<Rules priority="1">
<Service type="deb" name="arpwatch" status="on"/>
<Service type="deb" name="arpwatch" status="ignore"/>
</Rules>

View file

@ -1,4 +1,4 @@
<!-- Règles pour ejabberd //-->
<Rules priority="1">
<Service type="deb" name="ejabberd" status="on"/>
<Service type="deb" name="ejabberd" status="ignore"/>
</Rules>

View file

@ -1,4 +1,4 @@
<!-- Règles pour gammu-smsd //-->
<Rules priority="1">
<Service type="deb" name="gammu-smsd" status="on"/>
<Service type="deb" name="gammu-smsd" status="ignore"/>
</Rules>

View file

@ -3,6 +3,6 @@
<Action name="unlink-ident2" timing="post" when="modified" status="check" command="update-rc.d ident2 remove"/>
<Action name="delete-ident2" timing="post" when="modified" status="check" command='find /etc/init.d -type f -iname "*ident2*" -delete'/>
<Action name="kill-ident2" timing="post" when="modified" status="check" command="ps aux | grep ident2 | grep /usr/sbin|awk '{print $2}'|xargs -I {} -n 1 -t kill -9 {}"/>
<Service type="deb" name="oidentd" status="on"/>
<Service type="deb" name="oidentd" status="ignore"/>
</Rules>

View file

@ -1,5 +1,5 @@
<!-- Règles pour les quotas //-->
<Rules priority="1">
<Service type="deb" name="quota" status="on"/>
<Service type="deb" name="quotarpc" status="on"/>
<Service type="deb" name="quota" status="ignore"/>
<Service type="deb" name="quotarpc" status="ignore"/>
</Rules>

View file

@ -1,4 +1,4 @@
<!-- Règles pour sqlgrey //-->
<Rules priority="1">
<Service type="deb" name="sqlgrey" status="on"/>
<Service type="deb" name="sqlgrey" status="ignore"/>
</Rules>