diff options
Diffstat (limited to 'httpd-init.service')
-rw-r--r-- | httpd-init.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/httpd-init.service b/httpd-init.service new file mode 100644 index 0000000..05af86e --- /dev/null +++ b/httpd-init.service @@ -0,0 +1,12 @@ +[Unit] +Description=One-time configuration for httpd.service + +ConditionPathExists=|!/etc/pki/tls/certs/localhost.crt +ConditionPathExists=|!/etc/pki/tls/certs/localhost-ca.crt +ConditionPathExists=|!/etc/pki/tls/private/localhost.key + +[Service] +Type=oneshot +RemainAfterExit=no + +ExecStart=/usr/libexec/httpd-ssl-gencerts |