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
185 B
SYSTEMD
10 lines
185 B
SYSTEMD
[Unit]
|
|
Description="Reload Jailkit socketd on changes to config file"
|
|
|
|
[Path]
|
|
PathChanged=/etc/jailkit/jk_socketd.ini
|
|
Unit=vhost-reload-jailkit.service
|
|
|
|
[Install]
|
|
WantedBy=paths.target
|