[default/monit] changement des options pour wheezy
This commit is contained in:
parent
5597646837
commit
ab7acac200
4 changed files with 30 additions and 15 deletions
29
Python/etc/default/monit
Normal file
29
Python/etc/default/monit
Normal 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
|
||||
"""
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue