Skip to content

Commit

Permalink
Fix module path handling in installation documentation
Browse files Browse the repository at this point in the history
Update documentation to set module paths correctly.
  • Loading branch information
apmasell committed Mar 21, 2024
1 parent 7a434f9 commit 77a1b59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-shesmu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
export MODULEPATH=/usr/share/shesmu/*
IFS=":"
export SHESMU_DATA="$*"

Expand All @@ -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
3 changes: 1 addition & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 77a1b59

Please sign in to comment.