summaryrefslogtreecommitdiffstats
path: root/development/icecream/rc.icecc-scheduler
diff options
context:
space:
mode:
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: