diff --git a/images/restd/slurmrestd.dockerfile b/images/restd/slurmrestd.dockerfile index 2c298271..b88c60e4 100644 --- a/images/restd/slurmrestd.dockerfile +++ b/images/restd/slurmrestd.dockerfile @@ -49,7 +49,7 @@ RUN for pkg in slurm-smd slurm-smd-slurmrestd; do \ EXPOSE 6820 # Copy restd conf file (overwrite AuthType) -COPY restd/slurm_rest.conf /etc/slurm/slurm_rest.conf +COPY restd/slurm_rest.conf /etc/slurm_rest.conf # Copy & run the entrypoint script COPY restd/slurmrestd_entrypoint.sh /opt/bin/slurm/ diff --git a/images/restd/slurmrestd_entrypoint.sh b/images/restd/slurmrestd_entrypoint.sh index e0f0ac7d..4c313b24 100755 --- a/images/restd/slurmrestd_entrypoint.sh +++ b/images/restd/slurmrestd_entrypoint.sh @@ -8,4 +8,4 @@ rm -rf /etc/slurm && ln -s /mnt/slurm-configs /etc/slurm chown www-data:www-data /usr/sbin/slurmrestd && chmod 500 /usr/sbin/slurmrestd echo "Start slurmrestd daemon" -exec /usr/sbin/slurmrestd -f /etc/slurm/slurm_rest.conf -u www-data -g www-data -a rest_auth/jwt -vvvvvv :6820 +exec /usr/sbin/slurmrestd -f /etc/slurm_rest.conf -u www-data -g www-data -a rest_auth/jwt -vvvvvv :6820