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

(-)a/debian/scripts/koha-zebra (-5 / +5 lines)
Lines 134-142 restart_zebra() Link Here
134
    local name=$1
134
    local name=$1
135
135
136
    if is_zebra_running ${name}; then
136
    if is_zebra_running ${name}; then
137
137
        local noLF="-n"
138
        stop_zebra ${name} && \
138
        [ "$verbose" != "no" ] && noLF=""
139
        start_zebra ${name}
139
        echo $noLF `stop_zebra ${name}`
140
        echo $noLF `start_zebra ${name}`
140
    else
141
    else
141
        if [ "$verbose" != "no" ]; then
142
        if [ "$verbose" != "no" ]; then
142
            log_daemon_msg "Error: Zebra not running for ${name}"
143
            log_daemon_msg "Error: Zebra not running for ${name}"
Lines 149-155 zebra_status() Link Here
149
{
150
{
150
    local name=$1
151
    local name=$1
151
152
152
    if is_zebra_running; then
153
    if is_zebra_running ${name}; then
153
        log_daemon_msg "Zebra running for ${name}"
154
        log_daemon_msg "Zebra running for ${name}"
154
        log_end_msg 0
155
        log_end_msg 0
155
    else
156
    else
156
- 

Return to bug 17467