mars/systemd-testing/mars-trigger.path

21 lines
495 B
SYSTEMD

[Unit]
Description=MARS global watcher /mars/userspace/systemd-trigger
Documentation=https://github.com/schoebel/mars/docu/mars-user-manual.pdf
## Global path watcher for calling mars-trigger.service
## Markers for the template processor
# ALWAYS_START
BindsTo=mars.service
After=mars.service
[Path]
PathExists=/mars/userspace/systemd-trigger
PathChanged=/mars/userspace/systemd-trigger
PathModified=/mars/userspace/systemd-trigger
Unit=mars-trigger.service
[Install]
WantedBy=mars.service