mirror of
https://github.com/schoebel/mars
synced 2024-12-27 00:52:21 +00:00
20 lines
456 B
Desktop File
20 lines
456 B
Desktop File
[Unit]
|
|
Description=MARS block layer HA (kernel module)
|
|
Documentation=https://github.com/schoebel/mars/docu/mars-user-manual.pdf
|
|
RequiresMountsFor=/mars/uuid
|
|
StopWhenUnneeded=false
|
|
IgnoreOnIsolate=true
|
|
|
|
ConditionPathIsSymbolicLink=/mars/uuid
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
KillMode=none
|
|
RemainAfterExit=yes
|
|
#ExecStartPre=if ! mountpoint /mars; then mount /dev/*/mars /mars; fi
|
|
ExecStart=/sbin/modprobe mars
|
|
ExecStop=/sbin/rmmod mars
|
|
|
|
[Install]
|
|
WantedBy=mars.mount
|