[pkg-nagios-changes] [Git][nagios-team/pkg-icinga2][experimental] Use /run instead of /var/run.
Bas Couwenberg
gitlab at salsa.debian.org
Sun Jul 28 10:29:12 BST 2019
Bas Couwenberg pushed to branch experimental at Debian Nagios Maintainer Group / pkg-icinga2
Commits:
331433d8 by Bas Couwenberg at 2019-07-28T09:29:00Z
Use /run instead of /var/run.
- - - - -
2 changed files:
- debian/changelog
- debian/icinga2-bin.icinga2.init
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+icinga2 (2.11.0~rc1-1~exp2) UNRELEASED; urgency=medium
+
+ * Use /run instead of /var/run.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 28 Jul 2019 11:28:37 +0200
+
icinga2 (2.11.0~rc1-1~exp1) experimental; urgency=medium
* Team upload.
=====================================
debian/icinga2-bin.icinga2.init
=====================================
@@ -23,7 +23,7 @@ DAEMON_GROUP=nagios
DAEMON_CMDGROUP=www-data
DAEMON_ARGS="-e /var/log/icinga2/icinga2.err"
STARTUP_LOG="/var/log/icinga2/startup.log"
-PIDFILE=/var/run/icinga2/$NAME.pid
+PIDFILE=/run/icinga2/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# Block/ignore SIGPIPE inside Icinga2
@@ -47,14 +47,14 @@ trap '' 13 # SIGPIPE
# check run directory
check_run () {
- test -d '/var/run/icinga2' || mkdir /var/run/icinga2
- test -d '/var/run/icinga2/cmd' || mkdir /var/run/icinga2/cmd
+ test -d '/run/icinga2' || mkdir /run/icinga2
+ test -d '/run/icinga2/cmd' || mkdir /run/icinga2/cmd
- chown "$DAEMON_USER":"$DAEMON_GROUP" /var/run/icinga2
- chmod 0755 /var/run/icinga2
+ chown "$DAEMON_USER":"$DAEMON_GROUP" /run/icinga2
+ chmod 0755 /run/icinga2
- chown "$DAEMON_USER":"$DAEMON_CMDGROUP" /var/run/icinga2/cmd
- chmod 2710 /var/run/icinga2/cmd
+ chown "$DAEMON_USER":"$DAEMON_CMDGROUP" /run/icinga2/cmd
+ chmod 2710 /run/icinga2/cmd
}
check_config () {
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icinga2/commit/331433d8a5130b5b2b15899349cda1101fbf1062
--
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icinga2/commit/331433d8a5130b5b2b15899349cda1101fbf1062
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20190728/29fa3679/attachment-0001.html>
More information about the pkg-nagios-changes
mailing list