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]