diff options
author | CoprDistGit <infra@openeuler.org> | 2024-02-02 12:03:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-02-02 12:03:31 +0000 |
commit | a12b5db2a95667c9a8affb404d5b5684cad488e4 (patch) | |
tree | 1114887c887a02562e246afc80785b03779f5ce3 /httpd-init.service | |
parent | 234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff) |
automatic import of httpd
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..3074778 --- /dev/null +++ b/httpd-init.service @@ -0,0 +1,12 @@ +[Unit] +Description=One-time temporary TLS key generation for httpd.service +Documentation=man:httpd-init.service(8) + +ConditionPathExists=|!/etc/pki/tls/certs/localhost.crt +ConditionPathExists=|!/etc/pki/tls/private/localhost.key + +[Service] +Type=oneshot +RemainAfterExit=no + +ExecStart=/usr/libexec/httpd-ssl-gencerts |