freeipa/install/restart_scripts
Christian Heimes 90f7232454 Don't create log files from help scripts
Helper scripts now use api.bootstrap(log=None) to avoid the creation of
log files. Helper scripts are typically executed from daemons which
perform their own logging. The helpers still log to stderr/stdout.

This also gets rid of some SELinux AVCs when the script tries to write
to /root/.ipa/.

Fixes: https://pagure.io/freeipa/issue/8075
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-09-24 15:23:30 +02:00
..
Makefile.am Generate scripts from templates 2018-08-23 14:49:06 +02:00
README Configure certmonger to execute restart scripts on renewal. 2012-04-10 01:08:41 -04:00
renew_ca_cert.in Don't create log files from help scripts 2019-09-24 15:23:30 +02:00
renew_kdc_cert.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
renew_ra_cert_pre.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
renew_ra_cert.in Don't create log files from help scripts 2019-09-24 15:23:30 +02:00
restart_dirsrv.in Don't create log files from help scripts 2019-09-24 15:23:30 +02:00
restart_httpd.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
stop_pkicad.in Don't create log files from help scripts 2019-09-24 15:23:30 +02:00

This directory contains scripts to be used by the command (-C) option
of certmonger to restart services when the certificates are renewed.