mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
dbc9610098
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
13 lines
420 B
Diff
13 lines
420 B
Diff
--- nagios-4.4.6/startup/default-init.in.orig 2020-04-28 22:48:29.000000000 +0200
|
|
+++ nagios-4.4.6/startup/default-init.in 2021-07-31 23:32:21.895857400 +0200
|
|
@@ -180,6 +180,10 @@
|
|
|
|
check_config
|
|
|
|
+ NagiosRunDir=`dirname $NagiosRunFile`
|
|
+ mkdir -p $NagiosRunDir
|
|
+ chown $NagiosUser:$NagiosGroup $NagiosRunDir
|
|
+
|
|
if test -f $NagiosRunFile; then
|
|
NagiosPID=`head -n 1 $NagiosRunFile`
|
|
if status_nagios; then
|