mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
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'
|
# Template file for 'mdadm'
|
||||||
pkgname=mdadm
|
pkgname=mdadm
|
||||||
version=3.3.2
|
version=3.3.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libudev-devel"
|
makedepends="libudev-devel"
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
short_desc="A tool for managing/monitoring Linux md device arrays"
|
short_desc="A tool for managing/monitoring Linux md device arrays"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -16,4 +17,5 @@ do_install() {
|
||||||
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
|
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
|
||||||
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
|
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
|
||||||
vsconf mdadm.conf-example mdadm.conf
|
vsconf mdadm.conf-example mdadm.conf
|
||||||
|
vsv mdadm
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue