Fix unit types and dependency
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user