From 2b6af59ab6490ff8467d7c2575c5dd255fb2a72f Mon Sep 17 00:00:00 2001 From: Emel Komurcu Date: Wed, 17 Feb 2021 13:17:58 +0300 Subject: [PATCH] change opsviewv6 opt directory because of conflict problem with opsview packages --- opsviewv6/native/ogAfter.sh | 2 +- opsviewv6/opsviewv6.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opsviewv6/native/ogAfter.sh b/opsviewv6/native/ogAfter.sh index 4e330cc..9b9e82a 100644 --- a/opsviewv6/native/ogAfter.sh +++ b/opsviewv6/native/ogAfter.sh @@ -4,7 +4,7 @@ fi chmod -R 775 /var/log/opsgenie chmod -R g+s /var/log/opsgenie -chmod 755 /opt/opsview/monitoringscripts/notifications/nagios2opsgenie +chmod 755 /opt/opsgenie/opsview/monitoringscripts/notifications/nagios2opsgenie if id -u opsview >/dev/null 2>&1; then usermod -a -G opsgenie opsview diff --git a/opsviewv6/opsviewv6.gradle b/opsviewv6/opsviewv6.gradle index 5320477..f3a613e 100644 --- a/opsviewv6/opsviewv6.gradle +++ b/opsviewv6/opsviewv6.gradle @@ -129,7 +129,7 @@ def buildDebForOpsviewV6(String sourceDir, String name, String descrpt, Map file task packageOpsviewV6OS(dependsOn: 'prepareOpsviewV6') << { def fileMapping = [ - "${project.projectDir}/opsviewv6/nagios2opsgenie" : "opt/opsview/monitoringscripts/notifications/", + "${project.projectDir}/opsviewv6/nagios2opsgenie" : "opt/opsgenie/opsview/monitoringscripts/notifications/", "${project.projectDir}/opsviewv6/nagios2opsgenie.go": "etc/opsgenie" ]