pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vnstat: Rename service to vnstat



Module Name:	pkgsrc-wip
Committed By:	Kimmo Suominen <kimmo%suominen.com@localhost>
Pushed By:	kim
Date:		Mon Apr 6 00:52:11 2026 +0300
Changeset:	7b4507ecf0798b79241c32e29bc314e50b190dac

Modified Files:
	vnstat/Makefile
Added Files:
	vnstat/files/vnstat.sh
Removed Files:
	vnstat/files/vnstatd.sh

Log Message:
vnstat: Rename service to vnstat

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7b4507ecf0798b79241c32e29bc314e50b190dac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vnstat/Makefile         |  2 +-
 vnstat/files/vnstat.sh  | 19 +++++++++++++++++++
 vnstat/files/vnstatd.sh | 19 -------------------
 3 files changed, 20 insertions(+), 20 deletions(-)

diffs:
diff --git a/vnstat/Makefile b/vnstat/Makefile
index 527f6eecb6..4ef9ce4c9e 100644
--- a/vnstat/Makefile
+++ b/vnstat/Makefile
@@ -5,7 +5,7 @@ CONFIGURE_ARGS+=	--disable-image-output
 EGDIR=			${PREFIX}/share/examples/${PKGBASE}
 INSTALLATION_DIRS=	bin ${EGDIR} ${PKGMANDIR}/man1 \
 			${PKGMANDIR}/man5 ${PKGMANDIR}/man8
-RCD_SCRIPTS=		vnstatd
+RCD_SCRIPTS=		vnstat
 
 post-install:
 	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/vnstat.conf \
diff --git a/vnstat/files/vnstat.sh b/vnstat/files/vnstat.sh
new file mode 100755
index 0000000000..41f92fd520
--- /dev/null
+++ b/vnstat/files/vnstat.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD$
+#
+
+# PROVIDE: vnstat
+# REQUIRE: network mountcritlocal
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="vnstat"
+rcvar=$name
+command="@PREFIX@/sbin/${name}d"
+pidfile="/var/run/${name}/${name}.pid"
+command_args="-d"
+required_files="@PKG_SYSCONFDIR@/${name}.conf"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/vnstat/files/vnstatd.sh b/vnstat/files/vnstatd.sh
deleted file mode 100755
index 2287b67bcf..0000000000
--- a/vnstat/files/vnstatd.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: vnstatd.sh,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $
-#
-
-# PROVIDE: vnstatd
-# REQUIRE: network mountcritlocal
-
-$_rc_subr_loaded . /etc/rc.subr
-
-name="vnstatd"
-rcvar=$name
-command="@PREFIX@/sbin/${name}"
-pidfile="/var/run/${name}/${name}.pid"
-command_args="-d"
-required_files="@PKG_SYSCONFDIR@/vnstat.conf"
-
-load_rc_config $name
-run_rc_command "$1"


Home | Main Index | Thread Index | Old Index