diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-16 14:42:57 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 13:58:37 -0600 |
commit | c9884d1eba754f1499830d6c9b5382f5de9d3f8d (patch) | |
tree | e45055be0b72a43074964e7421d7fd4512b884df /development/icecream/rc.icecc-scheduler | |
parent | e6e806ac6fb0976b45064b3533da09ce50071738 (diff) | |
download | slackbuilds-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-scheduler | 10 |
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: |