From 6ebfc4c46adebfa08aca24e5d2e4e64022b7b881 Mon Sep 17 00:00:00 2001 From: tuntoja <58987095+tuntoja@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:46:43 +0200 Subject: [PATCH] fix(packaging): fix as400 packaging (#5248) --- .../init-script/centreon-as400-sysconfig | 2 +- as400/packaging/centreon-as400-daemon.yaml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/as400/connector.as400.install/init-script/centreon-as400-sysconfig b/as400/connector.as400.install/init-script/centreon-as400-sysconfig index 1c52ce76e..7b02f0014 100644 --- a/as400/connector.as400.install/init-script/centreon-as400-sysconfig +++ b/as400/connector.as400.install/init-script/centreon-as400-sysconfig @@ -1,5 +1,5 @@ # centreon-as400 command line options -JAVA_OPTS="-Xms128M -Xmx2G -XX:MaxPermSize=128m" +JAVA_OPTS="-Xms128M -Xmx2G" CONNECTOR_OPTS="--port 8091" CONNECTOR_HOME=@CONNECTOR_HOME@ CONNECTOR_ETC=@CONNECTOR_ETC@ diff --git a/as400/packaging/centreon-as400-daemon.yaml b/as400/packaging/centreon-as400-daemon.yaml index 608bb6775..212db0103 100644 --- a/as400/packaging/centreon-as400-daemon.yaml +++ b/as400/packaging/centreon-as400-daemon.yaml @@ -28,17 +28,20 @@ contents: mode: 0644 - src: "../connector.as400.install/init-script/centreon-as400-sysconfig" - dst: "/etc/sysconfig/centreon-as400-sysconfig" + dst: "/etc/sysconfig/centreon-as400" + type: config|noreplace file_info: mode: 0644 - src: "../connector.as400.install/etc/config.properties" dst: "/etc/centreon-as400/config.properties" + type: config|noreplace file_info: mode: 0644 - src: "../connector.as400.install/etc/log4j2.xml" dst: "/etc/centreon-as400/log4j2.xml" + type: config|noreplace file_info: mode: 0644