mdadm: added runit service.
This commit is contained in:
parent
c38fc20c0d
commit
5402921f4e
2 changed files with 6 additions and 1 deletions
3
srcpkgs/mdadm/files/mdadm/run
Executable file
3
srcpkgs/mdadm/files/mdadm/run
Executable file
|
@ -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
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'mdadm'
|
||||
pkgname=mdadm
|
||||
version=3.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libudev-devel"
|
||||
replaces="runit-void<20141013_2"
|
||||
short_desc="A tool for managing/monitoring Linux md device arrays"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2"
|
||||
|
@ -16,4 +17,5 @@ do_install() {
|
|||
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
|
||||
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
|
||||
vsconf mdadm.conf-example mdadm.conf
|
||||
vsv mdadm
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue