[default/monit] changement des options pour wheezy

This commit is contained in:
Daniel STAN 2013-05-25 12:25:02 +02:00
parent 5597646837
commit ab7acac200
4 changed files with 30 additions and 15 deletions

29
Python/etc/default/monit Normal file
View file

@ -0,0 +1,29 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 0644
header('Demarrage de monit')
# Pour wheezy et au-delà
if not has('squeeze'):
print """
# On lance monit automatiquement
START="yes"
MONIT_OPTS="-d 60"
"""
else:
print """
# on lance monit au demarrage
startup=1
# intervale de verification
CHECK_INTERVALS=60
"""