diff options
Diffstat (limited to 'astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh')
-rw-r--r-- | astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh b/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh new file mode 100644 index 000000000000..ca63e77cfab6 --- /dev/null +++ b/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh @@ -0,0 +1,24 @@ +$FreeBSD$ + +--- etc/rc.d/S71squeuer.sh.orig Thu Oct 31 20:38:18 2002 ++++ etc/rc.d/S71squeuer.sh Thu Aug 7 12:25:20 2003 +@@ -3,14 +3,16 @@ + # Squeuer + # + +-squeuer=/usr/local/bin/squeuer.pl +-pid_file=/var/run/squeuer.pid ++squeuer=%%PREFIX%%/sbin/squeuer ++squeuer_conf=%%PREFIX%%/etc/squeuer.conf ++pid_file=%%PIDDIR%%/squeuer.pid ++squeuer_user=squeuer + + SYSV3=1; export SYSV3 + + case $1 in + start) echo -n ' squeuer' +- su squeuer -c $squeuer > $pid_file & ++ su $squeuer_user -c "$squeuer -f $squeuer_conf" > $pid_file & + ;; + + stop) if [ -f $pid_file ]; then |