diff --git a/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.service b/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.service index a98c5e5..baf9c71 100644 --- a/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.service +++ b/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.service @@ -1,6 +1,9 @@ [Unit] -Description=Reload Apache +Description=Reload Apache for Let's Encrypt Certificate Insert [Service] -Type=onshot +Type=oneshot ExecStart=/bin/systemctl reload httpd.service + +[Install] +WantedBy=httpd.service diff --git a/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.timer b/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.timer index d950936..4a45a99 100644 --- a/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.timer +++ b/templates/Fedora/34/usr/lib/systemd/system/httpd-reload.timer @@ -1,5 +1,8 @@ +[Unit] +Description=Reload Apache for Let's Encrypt Certificate Insert + [Timer] OnUnitActiveSec=5min [Install] -WantedBy=timer.target +WantedBy=httpd.service