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

(-)a/debian/scripts/koha-sip (-6 / +13 lines)
Lines 166-177 restart_sip() Link Here
166
        done
166
        done
167
        echo $noLF `start_sip ${name}`
167
        echo $noLF `start_sip ${name}`
168
    else
168
    else
169
        if [ "$verbose" != "no" ]; then
169
        echo $noLF `start_sip ${name}`
170
            log_daemon_msg "Warning: SIP server not running for ${name}"
170
	if [ "$verbose" != "no" ]; then
171
            log_end_msg 0
171
            log_daemon_msg "Warning: SIP server not running for ${name}... trying to start"
172
        else
172
	    log_end_msg 0
173
            return 0
174
        fi
173
        fi
174
	if is_sip_running ${name}; then
175
            return 0
176
	else
177
            if [ "$verbose" != "no" ]; then
178
	        log_daemon_msg "Warning: SIP server not started, check your config"
179
                log_end_msg 0
180
	    fi
181
	    return 1
182
	fi
175
    fi
183
    fi
176
}
184
}
177
185
178
- 

Return to bug 24991