Skip to content

Commit

Permalink
Merge pull request #8 from ualberta-rcg/main
Browse files Browse the repository at this point in the history
Update entrypoint.sh
  • Loading branch information
rahimkhoja authored Jan 17, 2025
2 parents 49b8c73 + 459b2b4 commit cec479e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slurmdbd/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if [ -z "${LOG_FILE}" ] || [ "${LOG_FILE}" = "/var/log/slurm/slurm-dbd.log" ]; t
fi

mkdir -p /var/log/slurm/
mkdir -p /var/run/munge/
touch /var/log/slurm/slurm-dbd.log

# Read and substitute the template
Expand All @@ -31,6 +32,7 @@ done < /etc/slurm/slurmdbd.conf.template > /etc/slurm/slurmdbd.conf
chmod 600 /etc/slurm/slurmdbd.conf
chmod 400 /etc/munge/munge.key
chown munge:munge /etc/munge/munge.key
chown munge:munge -R /var/run/munge/
chown slurm:slurm /etc/slurm/slurmdbd.conf
chown slurm:slurm -R /var/log/slurm
# Run slurmdbd
Expand Down

0 comments on commit cec479e

Please sign in to comment.