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.
10 lines
181 B
SYSTEMD
10 lines
181 B
SYSTEMD
[Unit]
|
|
Description="Reload PHP-FPM on changes to pool config files"
|
|
|
|
[Path]
|
|
PathChanged=/etc/php/8.1/fpm/pool.d/
|
|
Unit=vhost-reload-php.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|