summaryrefslogtreecommitdiff
path: root/system/nsca-ng/patches
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2015-02-28 09:53:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-28 11:06:36 +0700
commit3254302d0402e557e3ae1d749c7271d0e4de2518 (patch)
tree0e8ae510e4015b38d64d2da10614b283fb82eb9a /system/nsca-ng/patches
parent8aecd9ce372ff9c6abc55dc036a6ea12eab6ca22 (diff)
downloadslackbuilds-3254302d0402e557e3ae1d749c7271d0e4de2518.tar.gz
system/nsca-ng: Added (drop-in replacement for NSCA).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nsca-ng/patches')
-rw-r--r--system/nsca-ng/patches/nsca-ng.cfg.diff10
-rw-r--r--system/nsca-ng/patches/nsca-ng.init.diff11
2 files changed, 21 insertions, 0 deletions
diff --git a/system/nsca-ng/patches/nsca-ng.cfg.diff b/system/nsca-ng/patches/nsca-ng.cfg.diff
new file mode 100644
index 0000000000..418af5a243
--- /dev/null
+++ b/system/nsca-ng/patches/nsca-ng.cfg.diff
@@ -0,0 +1,10 @@
+--- nsca-ng-1.4/etc/nsca-ng.cfg.orig 2014-10-14 23:16:01.000000000 +0200
++++ nsca-ng-1.4/etc/nsca-ng.cfg 2015-02-12 17:06:00.252698991 +0100
+@@ -9,6 +9,7 @@
+ # Most probably, you'll have to specify the path to the Nagios command file.
+ #
+ command_file = "/usr/local/nagios/var/rw/nagios.cmd"
++user = "nsca"
+
+ #
+ # These configuration settings are optional.
diff --git a/system/nsca-ng/patches/nsca-ng.init.diff b/system/nsca-ng/patches/nsca-ng.init.diff
new file mode 100644
index 0000000000..982d3041b3
--- /dev/null
+++ b/system/nsca-ng/patches/nsca-ng.init.diff
@@ -0,0 +1,11 @@
+--- nsca-ng-1.4/contrib/nsca-ng.init.orig 2013-03-05 21:58:00.000000000 +0100
++++ nsca-ng-1.4/contrib/nsca-ng.init 2015-02-12 17:07:38.490109689 +0100
+@@ -15,7 +15,7 @@
+ export PATH
+
+ name='NSCA-ng'
+-pid_file="$HOME/.nsca-ng.pid"
++pid_file="/var/run/nsca-ng/nsca-ng.pid"
+
+ get_pid()
+ {