View | Details | Raw Unified | Return to bug 13784
Collapse All | Expand All

(-)a/debian/scripts/koha-start-zebra (-9 / +4 lines)
Lines 73-88 EOF Link Here
73
for name in "$@"
73
for name in "$@"
74
do
74
do
75
    if is_instance $name ; then
75
    if is_instance $name ; then
76
        if is_enabled $name ; then
76
        if ! is_zebra_running $name; then
77
            if ! is_zebra_running $name; then
77
            if ! start_zebra_instance $name; then
78
                if ! start_zebra_instance $name; then
78
                warn "Something went wrong starting Zebra for $name."
79
                    warn "Something went wrong starting Zebra for $name."
80
                fi
81
            else
82
                warn "Zebra already running for instance $name."
83
            fi
79
            fi
84
        else
80
        else
85
            warn "Instance $name disabled. No action taken."
81
            warn "Zebra already running for instance $name."
86
        fi
82
        fi
87
    else
83
    else
88
        warn "Unknown instance $name."
84
        warn "Unknown instance $name."
89
- 

Return to bug 13784