[Pkg-nagios-changes] [pkg-nrpe] 02/03: Make missing EnvironmentFile non-fatal in systemd service.

Bas Couwenberg sebastic at debian.org
Sat Dec 24 09:28:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pkg-nrpe.

commit 7bdac0bba356b9028a9cdd1fd6658ee168247a0f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Dec 24 10:24:06 2016 +0100

    Make missing EnvironmentFile non-fatal in systemd service.
---
 debian/changelog                  | 1 +
 debian/nagios-nrpe-server.service | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 672f445..3837533 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 nagios-nrpe (3.0.1-3) UNRELEASED; urgency=medium
 
   * Add reload command to systemd service file.
+  * Make missing EnvironmentFile non-fatal in systemd service.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 24 Dec 2016 10:00:30 +0100
 
diff --git a/debian/nagios-nrpe-server.service b/debian/nagios-nrpe-server.service
index 9a055a7..f67c6da 100644
--- a/debian/nagios-nrpe-server.service
+++ b/debian/nagios-nrpe-server.service
@@ -12,7 +12,7 @@ WantedBy=multi-user.target
 Type=simple
 Restart=on-abort
 PIDFile=/var/run/nagios/nrpe.pid
-EnvironmentFile=/etc/default/nagios-nrpe-server
+EnvironmentFile=-/etc/default/nagios-nrpe-server
 ExecStart=/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f $NRPE_OPTS
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStopPost=/bin/rm -f /var/run/nagios/nrpe.pid

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nrpe.git



More information about the Pkg-nagios-changes mailing list