From 77a1b593772e7994983cf7085ceb5ca688ab0bdf Mon Sep 17 00:00:00 2001 From: Andre Masella Date: Thu, 21 Mar 2024 10:25:08 -0400 Subject: [PATCH] Fix module path handling in installation documentation Update documentation to set module paths correctly. --- docker-shesmu | 2 +- docs/installation.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-shesmu b/docker-shesmu index c60d9ac60..5f3701add 100755 --- a/docker-shesmu +++ b/docker-shesmu @@ -1,5 +1,4 @@ #!/bin/sh -export MODULEPATH=/usr/share/shesmu/* IFS=":" export SHESMU_DATA="$*" @@ -15,4 +14,5 @@ exec java \ -XX:+ExitOnOutOfMemoryError \ -Xms${MEMORY:-13g} \ -Xmx${MEMORY:-13g} \ + -p /usr/share/shesmu \ -m ca.on.oicr.gsi.shesmu.server/ca.on.oicr.gsi.shesmu.Server diff --git a/docs/installation.md b/docs/installation.md index 064b962ec..63bcfd168 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -98,9 +98,8 @@ On a Linux server, create a systemd configuration in `/lib/systemd/system/shesmu Description=Shesmu decision-action server [Service] - Environment=MODULEPATH=/srv/shesmu/* Environment=SHESMU_DATA=/srv/shesmu - ExecStart=/usr/bin/java ca.on.oicr.gsi.shesmu.server/ca.on.oicr.gsi.shesmu.Server + ExecStart=/usr/bin/java -p /srv/shesmu -m ca.on.oicr.gsi.shesmu.server/ca.on.oicr.gsi.shesmu.Server KillMode=process [Install]