Skip to content

Commit

Permalink
Merge pull request #33 from ualberta-rcg/main
Browse files Browse the repository at this point in the history
ctld try 1 brazillion
  • Loading branch information
rahimkhoja authored Jan 22, 2025
2 parents 0566b53 + dcbd55e commit 57091d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slurmctld/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,5 @@ RUN chmod +x /entrypoint.sh && \
EXPOSE 6817

# Entry point
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
CMD ["-Dvvv", "-s"]
2 changes: 1 addition & 1 deletion slurmctld/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ while ! sacctmgr show cluster &>/dev/null; do
done

# Run slurmctld as the slurm user
exec su -s /bin/bash -c "/opt/software/slurm/sbin/slurmctld $@" slurm
exec su -s /bin/bash slurm -c "/opt/software/slurm/sbin/slurmctld $*"

0 comments on commit 57091d4

Please sign in to comment.