on envoi un mail roots quand il y a des modifications dans les droits
(en envoi le whos de l'adhrent) darcs-hash:20050211103107-4ec08-82d4904218d29aef22e9713bfdcb25a45558036c.gz
This commit is contained in:
parent
2e766deefb
commit
e19194147e
3 changed files with 47 additions and 8 deletions
|
@ -242,10 +242,11 @@ if hostname == 'zamok':
|
|||
try:
|
||||
from gen_confs.droits import droits
|
||||
a = droits()
|
||||
a.uids = to_do['droits']
|
||||
a.debug = debug
|
||||
a.reconfigure()
|
||||
except:
|
||||
if auto : db.services_to_restart('droits')
|
||||
if auto : db.services_to_restart('droits',to_do['droits'])
|
||||
|
||||
if 'blacklist_upload' in to_do.keys() :
|
||||
if auto : db.services_to_restart('-blacklist_upload')
|
||||
|
@ -302,7 +303,7 @@ Subject: Modifications sur une machine du CR@NS
|
|||
if debug :
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
|
||||
if 'autostatus' in to_do.keys() :
|
||||
if auto : db.services_to_restart('-autostatus')
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue