Skip to content

Commit

Permalink
refactor: set default munge socket path at compile
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jun 11, 2024
1 parent f9a3f0f commit 2ae816e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion overlays/sbin/slurmd.wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

if [ -n "${SLURMD_CONFIG_SERVER}" ]; then
"${SNAP}"/sbin/slurmd \
--authinfo "socket=${SNAP_COMMON}/run/munge/munged.socket.2" \
--conf-server "${SLURMD_CONFIG_SERVER}" \
-d "${SNAP}/sbin/slurmstepd" \
-L "${SNAP_COMMON}/var/log/slurm/slurmd.conf" -D
Expand Down
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ parts:
- libbz2-1.0
autotools-configure-parameters:
- --prefix=/
- --with-munge-socket=/var/snap/${SNAPCRAFT_PROJECT_NAME}/common/run/munge/munged.socket.2
- --with-crypto-lib=openssl

slurm:
Expand Down

0 comments on commit 2ae816e

Please sign in to comment.