From 6e230fc011ad59d90c11381cf69d19228819b655 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 1 Jul 2015 08:41:58 +0200 Subject: [PATCH] vnstat: remove systemd build option (#1736). --- srcpkgs/vnstat/files/service | 9 --------- srcpkgs/vnstat/template | 9 +-------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 srcpkgs/vnstat/files/service diff --git a/srcpkgs/vnstat/files/service b/srcpkgs/vnstat/files/service deleted file mode 100644 index f312351ea1..0000000000 --- a/srcpkgs/vnstat/files/service +++ /dev/null @@ -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 diff --git a/srcpkgs/vnstat/template b/srcpkgs/vnstat/template index b430d298d2..f03209d0fc 100644 --- a/srcpkgs/vnstat/template +++ b/srcpkgs/vnstat/template @@ -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 " @@ -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 }