Fix unit types and dependency
This commit is contained in:
parent
1a8d3e7ae2
commit
872f7633a0
@ -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
|
||||
|
@ -1,5 +1,8 @@
|
||||
[Unit]
|
||||
Description=Reload Apache for Let's Encrypt Certificate Insert
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=timer.target
|
||||
WantedBy=httpd.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user