[Pkg-nagios-changes] [pkg-check-mk] 02/03: Add new inst and postinst for server component (Flexible Notifications)

Ilya Rassadin elcamlost-guest at moszumanska.debian.org
Wed Apr 22 10:00:04 UTC 2015


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

elcamlost-guest pushed a commit to branch 1.2.4p5-1
in repository pkg-check-mk.

commit 87ff21d29bce1ac143e967aa58fc01ce16d6063f
Author: Ilya Rassadin <elcamlost at gmail.com>
Date:   Wed Apr 22 11:04:42 2015 +0300

    Add new inst and postinst for server component (Flexible Notifications)
---
 debian/check-mk-server.install  | 1 +
 debian/check-mk-server.postinst | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/check-mk-server.install b/debian/check-mk-server.install
index 0f834a3..97aa51e 100644
--- a/debian/check-mk-server.install
+++ b/debian/check-mk-server.install
@@ -11,3 +11,4 @@ usr/share/check_mk/checks
 usr/share/check_mk/checks-man
 usr/share/check_mk/modules
 usr/share/check_mk/pnp-templates
+usr/share/check_mk/notifications
diff --git a/debian/check-mk-server.postinst b/debian/check-mk-server.postinst
index 821d980..aaa0553 100644
--- a/debian/check-mk-server.postinst
+++ b/debian/check-mk-server.postinst
@@ -39,6 +39,8 @@ case "$1" in
 		setperm nagios nagios 0750 /var/lib/check_mk/counters/
 		test -d /var/lib/check_mk/logwatch/ || mkdir -p /var/lib/check_mk/logwatch/
 		setperm nagios www-data 0770 /var/lib/check_mk/logwatch/
+		test -d /var/lib/check_mk/notify/ || mkdir -p /var/lib/check_mk/notify/ 
+		setperm nagios www-data 0770 /var/lib/check_mk/notify/
     ;;
   abort-upgrade|abort-remove|abort-deconfigure)
     ;;

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



More information about the Pkg-nagios-changes mailing list