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.
This commit is contained in:
2022-02-09 22:04:42 +01:00
parent 01f5d5fe3e
commit 9c8e7db788
7 changed files with 257 additions and 148 deletions

13
md-renewed-install.path Normal file
View File

@@ -0,0 +1,13 @@
[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