From 83acd27ad8100e74bccd3fd67d3ccdf26e081339 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Mon, 7 Apr 2008 15:52:47 +0000
Subject: [PATCH] support SLURMD_OPTIONS or SLURMCTLD_OPTIONS with more than
 one token   From Jeff Squyres, Cisco

---
 etc/init.d.slurm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/etc/init.d.slurm b/etc/init.d.slurm
index 89aeb6ac899..72bd3ec5023 100644
--- a/etc/init.d.slurm
+++ b/etc/init.d.slurm
@@ -70,9 +70,11 @@ fi
 export LD_LIBRARY_PATH="$LIBDIR:$LD_LIBRARY_PATH"
 
 start() {
-    echo -n "starting $1: " 
+    prog=$1
+    shift
+    echo -n "starting $prog: " 
     unset HOME MAIL USER USERNAME 
-    $STARTPROC $SBINDIR/$1 $2
+    $STARTPROC $SBINDIR/$prog $*
     rc_status -v
     echo
     touch /var/lock/subsys/slurm
-- 
GitLab