mirror of
https://github.com/schoebel/mars
synced 2024-12-22 06:40:52 +00:00
18 lines
490 B
SYSTEMD
18 lines
490 B
SYSTEMD
[Unit]
|
|
Description=MARS per-resource watcher for /mars/resource-@{res}/systemd-trigger
|
|
Documentation=https://github.com/schoebel/mars/docu/mars-manual.pdf
|
|
Requires=mars-trigger.path
|
|
After=mars-trigger.path
|
|
|
|
## Markers for the template processor
|
|
# ALWAYS_START
|
|
|
|
[Path]
|
|
PathExists=/mars/resource-@{res}/systemd-trigger
|
|
PathChanged=/mars/resource-@{res}/systemd-trigger
|
|
PathModified=/mars/resource-@{res}/systemd-trigger
|
|
Unit=mars-@escvar{res}-trigger.service
|
|
|
|
[Install]
|
|
WantedBy=mars.service
|