From edf4f9a1c21918301ebf00f421c1e6242177548a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 7 Jun 2024 08:09:38 +0000 Subject: automatic import of httpd --- httpd-init.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 httpd-init.service (limited to 'httpd-init.service') 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 -- cgit v1.2.3