vnstat: remove systemd build option (#1736).

This commit is contained in:
Juan RP 2015-07-01 08:41:58 +02:00
parent e2d43b87ba
commit 6e230fc011
2 changed files with 1 additions and 17 deletions

View File

@ -1,9 +0,0 @@
[Unit]
Description=Network traffic monitor
[Service]
ExecStart=/usr/sbin/vnstatd -n
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +1,7 @@
# Template build file for "vnstat"
pkgname=vnstat
version=1.14
revision=2
revision=3
build_style=gnu-makefile
short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
@ -13,14 +13,7 @@ make_install_args="SBIN=${DESTDIR}/usr/bin"
conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root"
build_options="systemd"
pre_install() {
sed -e 's,install -s,install ,g' -i Makefile
}
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system vnstat.service
fi
vsv vnstatd
}