mirror of
https://github.com/schoebel/mars
synced 2024-12-09 08:20:10 +00:00
17 lines
381 B
SYSTEMD
17 lines
381 B
SYSTEMD
[Unit]
|
|
Description=MARS local mount on /vol/@{res}
|
|
#Documentation=https://github.com/schoebel/mars/docu/mars-manual.pdf
|
|
Requires=mars.service
|
|
After=mars.service
|
|
|
|
ConditionPathIsSymbolicLink=/mars/resource-@{res}/systemd-want
|
|
ConditionPathExists=/dev/mars/@{res}
|
|
ConditionPathIsDirectory=/vol/@{res}
|
|
|
|
[Mount]
|
|
What=/dev/mars/@{res}
|
|
Where=/vol/@{res}
|
|
|
|
[Install]
|
|
WantedBy=mars.service
|