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

(-)a/debian/scripts/koha-functions.sh (+2 lines)
Lines 269-274 is_plack_running() Link Here
269
    local instancename=$1
269
    local instancename=$1
270
270
271
    if start-stop-daemon --pidfile "/var/run/koha/${instancename}/plack.pid" \
271
    if start-stop-daemon --pidfile "/var/run/koha/${instancename}/plack.pid" \
272
            --user="$instancename-koha" \
272
            --status ; then
273
            --status ; then
273
        return 0
274
        return 0
274
    else
275
    else
Lines 292-297 is_z3950_running() Link Here
292
    local instancename=$1
293
    local instancename=$1
293
294
294
    if start-stop-daemon --pidfile "/var/run/koha/${instancename}/z3950-responder.pid" \
295
    if start-stop-daemon --pidfile "/var/run/koha/${instancename}/z3950-responder.pid" \
296
            --user="$instancename-koha" \
295
            --status ; then
297
            --status ; then
296
        return 0
298
        return 0
297
    else
299
    else
(-)a/debian/scripts/koha-plack (-2 / +1 lines)
Lines 144-150 stop_plack() Link Here
144
144
145
        log_daemon_msg "Stopping Plack daemon for ${instancename}"
145
        log_daemon_msg "Stopping Plack daemon for ${instancename}"
146
146
147
        if start-stop-daemon --pidfile ${PIDFILE} --stop --retry=TERM/30/KILL/5; then
147
        if start-stop-daemon --pidfile ${PIDFILE} --user="${instancename}-koha" --stop --retry=TERM/30/KILL/5; then
148
            log_end_msg 0
148
            log_end_msg 0
149
        else
149
        else
150
            log_end_msg 1
150
            log_end_msg 1
151
- 

Return to bug 25481