c3ffd5c419
move service to paths.target remove startup dependency change to try-reload-or-restart which has this logic: Reload service if it supports it. If not, stop and then start instead. Does nothing if the service is not running.
8 lines
137 B
Desktop File
8 lines
137 B
Desktop File
[Unit]
|
|
Description=Reload Varnish
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=sleep 1
|
|
ExecStart=systemctl try-reload-or-restart varnish.service
|