slackbuilds_ponce/system/nsca-ng/patches/nsca-ng.init.diff
Mario Preksavec 3254302d04 system/nsca-ng: Added (drop-in replacement for NSCA).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-02-28 11:06:36 +07:00

11 lines
288 B
Diff

--- 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()
{