Changed files:
pound.init -> 1.12
fi
}
+restart() {
+ if [ "$single" != 1 ]; then
+ # make up list of configured and up instances
+ local list
+ for instance in $POUND_INSTANCES; do
+ is_up $instance || continue
+ list="$list $instance"
+ done
+ POUND_INSTANCES=$list
+ fi
+
+ stop
+ start
+}
+
if [ "$1" != status -a "$2" ]; then
POUND_INSTANCES="$2"
single=1
exit $stat
;;
restart|force-reload)
- stop
- start
+ restart
;;
*)
msg_usage "$0 {start|stop|restart|force-reload|status} [INSTANCE NAMES]"