Skip to content

Commit

Permalink
Change spool dir to /var/spool/slurmctld
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Mar 13, 2024
1 parent 3be564c commit 0f64b47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slurmdbd/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

set -o errexit -o nounset -o pipefail

if [ ! -d /var/spool/slurm/ ]; then
echo "/var/spool/slurm/ does not exist. Creating it."
mkdir -p /var/spool/slurm/
if [ ! -d /var/spool/slurmctld ]; then
echo "/var/spool/slurmctld does not exist. Creating it."
mkdir -p /var/spool/slurmctld
fi

chown slurm: /var/spool/slurm/
chown slurm: /var/spool/slurmctld

/usr/bin/supervisord -c /etc/supervisord.conf

0 comments on commit 0f64b47

Please sign in to comment.