hi,
i can't reproduce the bug using 0.8.0-1 package.
/etc/default/icecc contains:
1 # Defaults for icecc initscript 2 # sourced by /etc/init.d/icecc 3 START_ICECC="true" 4 START_ICECC_SCHEDULER="false"
we read config file in /etc/init.d/icecc: [...] 15 CONFIGFILE=/etc/icecc/icecc.conf 16 DEFAULTFILE=/etc/default/icecc 17 18 # Read configuration files 19 [ -r $CONFIGFILE ] && . $CONFIGFILE 20 [ -r $DEFAULTFILE ] && . $DEFAULTFILE [...]
and on start case: [...] 78 start) 79 if [ "$START_ICECC" = "true" ]; then 80 log_daemon_msg "Starting distributed compiler daemon" "iceccd" 81 start_icecc_daemon 82 log_end_msg $? 83 fi 84 85 if [ "$START_ICECC_SCHEDULER" = "true" ]; then 86 log_daemon_msg "Starting distributed compiler scheduler" "icecc-scheduler" 87 start_icecc_scheduler 88 log_end_msg $? 89 fi 90 ;; [...]
we show each message only if its own variable is set to true.
cheers,
Fathi
hi,
i can't reproduce the bug using 0.8.0-1 package.
/etc/default/icecc contains:
1 # Defaults for icecc initscript SCHEDULER= "false"
2 # sourced by /etc/init.d/icecc
3 START_ICECC="true"
4 START_ICECC_
we read config file in /etc/init.d/icecc: /etc/icecc/ icecc.conf /etc/default/ icecc
[...]
15 CONFIGFILE=
16 DEFAULTFILE=
17
18 # Read configuration files
19 [ -r $CONFIGFILE ] && . $CONFIGFILE
20 [ -r $DEFAULTFILE ] && . $DEFAULTFILE
[...]
and on start case: ICECC_SCHEDULER " = "true" ]; then scheduler
[...]
78 start)
79 if [ "$START_ICECC" = "true" ]; then
80 log_daemon_msg "Starting distributed compiler daemon" "iceccd"
81 start_icecc_daemon
82 log_end_msg $?
83 fi
84
85 if [ "$START_
86 log_daemon_msg "Starting distributed compiler scheduler" "icecc-scheduler"
87 start_icecc_
88 log_end_msg $?
89 fi
90 ;;
[...]
we show each message only if its own variable is set to true.
cheers,
Fathi