Echo out service name and remove unused ensure

Change-Id: I9a041e0558b6bfbc94d3b500b49a08878d95157c
This commit is contained in:
Endre Karlson 2013-06-08 21:32:51 +02:00
parent 850feaf019
commit 5c3a6efa3c

View File

@ -201,12 +201,12 @@ function screen_destroy() {
function prereq_setup() {
ensure_dir $RUN_DIR
ensure_dir $SCREEN_DIR
}
function start_svc() {
svc="$(echo "$svc" | sed 's/bs-//')"
echo "Starting service: $svc"
screen_it bs-$svc "billingstack-$svc --config-file $CONFIG"
}
@ -230,6 +230,7 @@ case $1 in
svc=$2
[ -z "$svc" ] && svc=all
echo "Starting service(s): $svc"
start $2
;;
stop)