Imported Debian patch 4.0.5-6~numeezy

This commit is contained in:
Alexandre Ellert
2016-02-17 15:07:45 +01:00
committed by Mario Fetka
parent c44de33144
commit 10dfc9587b
1203 changed files with 53869 additions and 241462 deletions

View File

@@ -22,23 +22,15 @@
import syslog
import traceback
from ipaplatform import services
from ipaserver.install import certs
def _main():
def main():
syslog.syslog(syslog.LOG_NOTICE, 'certmonger restarted httpd')
try:
services.knownservices.httpd.restart()
except Exception as e:
except Exception, e:
syslog.syslog(syslog.LOG_ERR, "Cannot restart httpd: %s" % str(e))
def main():
with certs.renewal_lock:
_main()
try:
main()
except Exception: