new startup for cobald containers

This commit is contained in:
2021-06-17 14:55:21 +02:00
parent cc43a39ea3
commit 6eb6984d6a
10 changed files with 102 additions and 33 deletions

View File

@@ -0,0 +1,2 @@
#!/bin/sh
exec su -s /bin/sh -c "munged -F" munge

View File

@@ -0,0 +1,4 @@
#!/bin/sh
su -s /bin/sh -c "slurmctld -D" ${slurmuser} 2>/dev/null 1>/dev/null &
tail --retry --pid $! -f ${SLURMCTLD_LOG_PATH} ${SLURM_SCHED_LOG_PATH}

View File

@@ -0,0 +1,4 @@
#!/bin/sh
slurmd -D 2>/dev/null 1>/dev/null &
tail --retry --pid $! -f ${SLURMD_LOG_PATH} ${SLURM_SCHED_LOG_PATH}