systemd.path uses inotify to watch changes so md-renewed-install.path is only activated on non-shared storage or on same host in shared storage enviroment.
14 lines
220 B
SYSTEMD
14 lines
220 B
SYSTEMD
[Path]
|
|
PathExistsGlob=/var/lib/httpd/md-renewed/installing/*
|
|
Unit=md-renewed-install.service
|
|
MakeDirectory=true
|
|
DirectoryMode=0777
|
|
|
|
[Unit]
|
|
BindsTo=httpd.service
|
|
After=httpd.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|