summaryrefslogtreecommitdiff
path: root/core/dmraid/dmraid.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/dmraid/dmraid.service')
-rw-r--r--core/dmraid/dmraid.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/dmraid/dmraid.service b/core/dmraid/dmraid.service
new file mode 100644
index 000000000..1fd142ff2
--- /dev/null
+++ b/core/dmraid/dmraid.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Assemble FakeRAID arrays
+DefaultDependencies=no
+Requires=systemd-udev-settle.service
+After=systemd-udev-settle.service
+Before=basic.target shutdown.target
+Conflicts=shutdown.target
+
+[Service]
+ExecStart=/sbin/dmraid --ignorelocking --activate y -Z
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=true
+
+[Install]
+WantedBy=basic.target