Fix unit types and dependency
This commit is contained in:
		| @@ -1,6 +1,9 @@ | |||||||
| [Unit] | [Unit] | ||||||
| Description=Reload Apache | Description=Reload Apache for Let's Encrypt Certificate Insert | ||||||
|  |  | ||||||
| [Service] | [Service] | ||||||
| Type=onshot | Type=oneshot | ||||||
| ExecStart=/bin/systemctl reload httpd.service | 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] | [Timer] | ||||||
| OnUnitActiveSec=5min | OnUnitActiveSec=5min | ||||||
|  |  | ||||||
| [Install] | [Install] | ||||||
| WantedBy=timer.target | WantedBy=httpd.service | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user