slurm startup

This commit is contained in:
Thorsten Müller
2021-04-26 17:20:54 +02:00
parent 49f73278da
commit 723e580288
3 changed files with 56 additions and 1 deletions

View File

@@ -16,4 +16,5 @@ RUN chown root:root /usr/local/sbin/entrypoint.sh && chmod 755 /usr/local/sbin/e
ENTRYPOINT [ "/usr/local/sbin/entrypoint.sh" ]
# CMD bash -c 'cat <({ condor_master -f & tail --retry --pid $! -f /var/log/condor/MasterLog & })'
CMD bash -c 'cat <({ su -s /bin/sh -c "munged -F" munge & slurmctld -D & })'
# ... & tail --retry --pid $! -f /var/log/condor/MasterLog & })'

View File

@@ -14,3 +14,4 @@ RUN chown root:root /usr/local/sbin/entrypoint.sh && chmod 755 /usr/local/sbin/e
ENTRYPOINT [ "/usr/local/sbin/entrypoint.sh" ]
# CMD bash -c 'cat <({ condor_master -f & tail --retry --pid $! -f /var/log/condor/MasterLog & })'
CMD bash -c 'cat <({ su -s /bin/sh -c "munged -F" munge & slurmd -D & })'