pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/nsca-ng/files
Module Name: pkgsrc
Committed By: maya
Date: Sun Jan 12 21:53:22 UTC 2020
Added Files:
pkgsrc/net/nsca-ng/files: nsca-ng-server.sh
Log Message:
nsca-ng: cvs add files/ contents.
Thanks joerg for the heads up.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/nsca-ng/files/nsca-ng-server.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/nsca-ng/files/nsca-ng-server.sh
diff -u /dev/null pkgsrc/net/nsca-ng/files/nsca-ng-server.sh:1.1
--- /dev/null Sun Jan 12 21:53:22 2020
+++ pkgsrc/net/nsca-ng/files/nsca-ng-server.sh Sun Jan 12 21:53:22 2020
@@ -0,0 +1,16 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: nsca-ng-server.sh,v 1.1 2020/01/12 21:53:22 maya Exp $
+#
+# PROVIDE: nsca_ng_server
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="nsca_ng_server"
+rcvar=$name
+command="@PREFIX@/sbin/nsca-ng"
+required_files="@PKG_SYSCONFDIR@/nsca-ng.cfg"
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index