diff --git a/ci/debian/centreon-ha-common.dirs b/ci/debian/centreon-ha-common.dirs new file mode 100644 index 0000000..3a576da --- /dev/null +++ b/ci/debian/centreon-ha-common.dirs @@ -0,0 +1 @@ +/var/log/centreon-ha diff --git a/ci/debian/centreon-ha.install b/ci/debian/centreon-ha-common.install similarity index 100% rename from ci/debian/centreon-ha.install rename to ci/debian/centreon-ha-common.install diff --git a/ci/debian/centreon-ha.postinst b/ci/debian/centreon-ha-common.postinst old mode 100755 new mode 100644 similarity index 74% rename from ci/debian/centreon-ha.postinst rename to ci/debian/centreon-ha-common.postinst index b04ccf6..5542c59 --- a/ci/debian/centreon-ha.postinst +++ b/ci/debian/centreon-ha-common.postinst @@ -5,6 +5,7 @@ if [ "$1" = "configure" ] ; then if [ "$(getent passwd centreon)" ]; then chown -vR centreon:centreon /var/log/centreon-ha chmod -vR 0755 /var/log/centreon-ha + chmod gu+x /usr/lib/ocf/resource.d/heartbeat/mariadb-centreon fi fi diff --git a/ci/debian/centreon-ha.dirs b/ci/debian/centreon-ha.dirs deleted file mode 100644 index 82d8106..0000000 --- a/ci/debian/centreon-ha.dirs +++ /dev/null @@ -1 +0,0 @@ -/var/log/centreon-ha \ No newline at end of file