mirror of
https://github.com/schoebel/mars
synced 2024-12-28 09:32:25 +00:00
27 lines
526 B
Desktop File
27 lines
526 B
Desktop File
[Unit]
|
|
Description=MARS block layer HA (kernel module)
|
|
Documentation=https://github.com/schoebel/mars/docu/mars-user-manual.pdf
|
|
|
|
## Markers for the template processor
|
|
# ALWAYS_START
|
|
|
|
BindsTo=mars.mount
|
|
After=mars.mount
|
|
RequiresMountsFor=/mars/uuid
|
|
|
|
Wants=network-online.target
|
|
|
|
StopWhenUnneeded=false
|
|
IgnoreOnIsolate=true
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# Important for avoiding failures: do not send any signals
|
|
KillMode=none
|
|
RemainAfterExit=yes
|
|
ExecStart=/sbin/modprobe mars
|
|
ExecStop=/sbin/rmmod mars
|
|
|
|
[Install]
|
|
WantedBy=mars.mount
|