summaryrefslogtreecommitdiff
path: root/development/icecream/rc.icecc-scheduler
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-16 14:42:57 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 13:58:37 -0600
commitc9884d1eba754f1499830d6c9b5382f5de9d3f8d (patch)
treee45055be0b72a43074964e7421d7fd4512b884df /development/icecream/rc.icecc-scheduler
parente6e806ac6fb0976b45064b3533da09ce50071738 (diff)
downloadslackbuilds-c9884d1eba754f1499830d6c9b5382f5de9d3f8d.tar.gz
development/icecream: Updated for version 1.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/icecream/rc.icecc-scheduler')
-rw-r--r--development/icecream/rc.icecc-scheduler10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/icecream/rc.icecc-scheduler b/development/icecream/rc.icecc-scheduler
index d40e0d81ef..2ae1a2fadb 100644
--- a/development/icecream/rc.icecc-scheduler
+++ b/development/icecream/rc.icecc-scheduler
@@ -4,7 +4,7 @@
# Author: Heinz Wiesinger <pprkut@liwjatan.at>
# ---------------------------------------------------------------------------
-PID=$(/sbin/pidof -o %PPID scheduler)
+PID=$(/sbin/pidof -o %PPID icecc-scheduler)
# Get the configuration information from /etc/rc.d/rc.icecream.conf:
. /etc/rc.d/rc.icecream.conf
@@ -15,16 +15,16 @@ scheduler_start() {
echo "Distributed compiler scheduler already running"
exit
fi
- if [ -x /usr/sbin/scheduler ]; then
- echo "Starting distributed compiler scheduler: /usr/sbin/scheduler "
- /usr/sbin/scheduler -n $NETWORK -d
+ if [ -x /usr/sbin/icecc-scheduler ]; then
+ echo "Starting distributed compiler scheduler: /usr/sbin/icecc-scheduler "
+ /usr/sbin/icecc-scheduler -n $NETWORK -d
fi
}
# Stop scheduler:
scheduler_stop() {
echo "Stopping distributed compiler scheduler"
- killall scheduler 1> /dev/null 2> /dev/null
+ killall icecc-scheduler 1> /dev/null 2> /dev/null
}
# Restart scheduler: