mars/systemd/^{mntname}-@{res}-medium-02.service

15 lines
439 B
SYSTEMD
Raw Normal View History

@eval{%let{mntpath}{%subst{%{mntname}}{-}{/}}}
[Unit]
Description=MARS dummy process running on /@{mntpath}/@{res}
Documentation=https://github.com/schoebel/mars/docu/mars-user-manual.pdf
BindsTo=@{mntname}-@escvar{res}-medium-01.service
After=@{mntname}-@escvar{res}-medium-01.service
[Service]
Type=simple
ExecStart=/etc/marsadm/systemd-templates/MARS-load-occupy.sh /@{mntpath}/@{res}
KillMode=process
[Install]
WantedBy=mars.service