Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rahimkhoja authored Jan 21, 2025
1 parent d7e26ed commit a7d0b59
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions slurmdbd/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@ while IFS= read -r line; do
done < /etc/slurm/slurmdbd.conf.template > /etc/slurm/slurmdbd.conf

# Slurm
#chown slurm:slurm /etc/slurm/slurmdbd.conf
#chown slurm:slurm -R /var/log/slurm
chown slurm:slurm /etc/slurm/slurmdbd.conf
chmod 600 /etc/slurm/slurmdbd.conf

# Munge

chown munge:munge -R /etc/munge

su -s /bin/bash -c "/opt/software/munge/sbin/munged --foreground --log-file=/var/log/munge/munge.log &" munge

# Run slurmdbd
exec slurmdbd "$@"

0 comments on commit a7d0b59

Please sign in to comment.