92af4b365b
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.
13 lines
308 B
SYSTEMD
13 lines
308 B
SYSTEMD
[Unit]
|
|
Description="Monitor /var/tmp/letsencrypt/ for cert names to deploy."
|
|
|
|
[Path]
|
|
# TriggerLimitIntervalSec=60 - not available until next version of systemd (250)
|
|
MakeDirectory=true
|
|
DirectoryMode=0777
|
|
DirectoryNotEmpty=/var/tmp/letsencrypt
|
|
Unit=letsencrypt-deploy.service
|
|
|
|
[Install]
|
|
WantedBy=paths.target
|