Imported Upstream version 4.6.2
This commit is contained in:
18
install/restart_scripts/renew_ra_cert_pre
Executable file
18
install/restart_scripts/renew_ra_cert_pre
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python2 -E
|
||||
#
|
||||
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
import syslog
|
||||
import traceback
|
||||
|
||||
from ipaserver.install import certs
|
||||
|
||||
|
||||
def main():
|
||||
certs.renewal_lock.acquire('renew_ra_cert')
|
||||
|
||||
try:
|
||||
main()
|
||||
except Exception:
|
||||
syslog.syslog(syslog.LOG_ERR, traceback.format_exc())
|
||||
Reference in New Issue
Block a user