From e20eb31ef86d0e172fcfba83f5a96bfe27c4032b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 22 Jun 2017 16:50:52 +0200 Subject: [PATCH] disable private temp --- debian/control | 1 + debian/nagios-nrpe-server.service | 2 +- debian/rules | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 4298f51..6c79b69 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Section: net Priority: optional Build-Depends: debhelper (>= 9), dh-autoreconf, + dh-systemd, libssl-dev, libwrap0-dev, openssl diff --git a/debian/nagios-nrpe-server.service b/debian/nagios-nrpe-server.service index f67c6da..4f56f60 100644 --- a/debian/nagios-nrpe-server.service +++ b/debian/nagios-nrpe-server.service @@ -19,5 +19,5 @@ ExecStopPost=/bin/rm -f /var/run/nagios/nrpe.pid TimeoutStopSec=60 User=nagios Group=nagios -PrivateTmp=true +PrivateTmp=false OOMScoreAdjust=-500 diff --git a/debian/rules b/debian/rules index 409dca8..52c915e 100755 --- a/debian/rules +++ b/debian/rules @@ -11,8 +11,8 @@ CFLAGS += $(CPPFLAGS) export AUTOHEADER=true %: -# dh $@ --with autoreconf,systemd --parallel - dh $@ --with autoreconf --parallel + dh $@ --with autoreconf,systemd --parallel +# dh $@ --with autoreconf --parallel override_dh_auto_configure: dh_auto_configure -- \ @@ -25,8 +25,8 @@ override_dh_auto_configure: --with-need-dh=no \ --with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \ --with-piddir=/var/run/nagios \ - --enable-command-args -# --enable-bash-command-substitution + --enable-command-args \ + --enable-bash-command-substitution override_dh_auto_build: dh_auto_build -- all