summary refs log tree commit diff
path: root/services/mdadm
diff options
context:
space:
mode:
Diffstat (limited to 'services/mdadm')
-rwxr-xr-xservices/mdadm/run3
l---------services/mdadm/supervise1
2 files changed, 4 insertions, 0 deletions
diff --git a/services/mdadm/run b/services/mdadm/run
new file mode 100755
index 0000000..b9684b2
--- /dev/null
+++ b/services/mdadm/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+# --syslog makes it run in every case, yet forwards to mail address if given.
+exec mdadm --monitor --scan --syslog
diff --git a/services/mdadm/supervise b/services/mdadm/supervise
new file mode 120000
index 0000000..4727402
--- /dev/null
+++ b/services/mdadm/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.mdadm
\ No newline at end of file