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