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

(-)a/debian/scripts/koha-plack (-1 / +12 lines)
Lines 74-80 start_plack() Link Here
74
74
75
    _check_and_fix_perms $instancename
75
    _check_and_fix_perms $instancename
76
76
77
    STARMANOPTS="-M FindBin --max-requests 50 --workers 2 \
77
    PLACK_MAX_REQUESTS="50"
78
    PLACK_WORKERS="2"
79
80
    if [[ $(xmlstarlet sel -t -m '//plack_max_requests' -v . < /etc/koha/sites/${instancename}/koha-conf.xml) ]]; then
81
        PLACK_MAX_REQUESTS="$(xmlstarlet sel -t -m '//plack_max_requests' -v . < /etc/koha/sites/${instancename}/koha-conf.xml)"
82
    fi
83
84
    if [[ $(xmlstarlet sel -t -m '//plack_workers' -v . < /etc/koha/sites/${instancename}/koha-conf.xml) ]]; then
85
        PLACK_WORKERS="$(xmlstarlet sel -t -m '//plack_workers' -v . < /etc/koha/sites/${instancename}/koha-conf.xml)"
86
    fi
87
88
    STARMANOPTS="-M FindBin --max-requests ${PLACK_MAX_REQUESTS} --workers ${PLACK_WORKERS} \
78
                 --user=${instancename}-koha --group ${instancename}-koha \
89
                 --user=${instancename}-koha --group ${instancename}-koha \
79
                 --pid ${PIDFILE} \
90
                 --pid ${PIDFILE} \
80
                 --daemonize \
91
                 --daemonize \
(-)a/etc/koha-conf.xml (-1 / +3 lines)
Lines 138-142 __PAZPAR2_TOGGLE_XML_POST__ Link Here
138
    <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
138
    <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
139
 </ttf>
139
 </ttf>
140
140
141
 <plack_max_requests>50</plack_max_requests>
142
 <plack_workers>2</plack_workers>
143
141
</config>
144
</config>
142
</yazgfs>
145
</yazgfs>
143
- 

Return to bug 17610