From 03f1098961e7cd0a5a3b7d93ca59f9176b7f63ac Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 02:42:43 +0000 Subject: automatic import of httpd --- httpd-init.service | 13 +++++++++++++ 1 file changed, 13 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..704c314 --- /dev/null +++ b/httpd-init.service @@ -0,0 +1,13 @@ +[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 +PrivateTmp=true + +ExecStart=/usr/libexec/httpd-ssl-gencerts -- cgit v1.2.3