diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-25 15:09:46 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-25 15:09:46 +0200 |
commit | 80d932f9be34f203041f2171af0b459c949c91ef (patch) | |
tree | 52117734305cb1c8092ffeae88f8e6b6dc08294b /services/mdadm | |
parent | 18ce659bb4b6de4f5f15065a0e2e2b5dc60a5ed9 (diff) | |
download | runit-void-80d932f9be34f203041f2171af0b459c949c91ef.tar.gz runit-void-80d932f9be34f203041f2171af0b459c949c91ef.tar.xz runit-void-80d932f9be34f203041f2171af0b459c949c91ef.zip |
New service: mdadm
Diffstat (limited to 'services/mdadm')
-rwxr-xr-x | services/mdadm/run | 3 | ||||
l--------- | services/mdadm/supervise | 1 |
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 |