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

(-)a/debian/scripts/koha-plack (-1 / +6 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=$(run_safe_xmlstarlet $instancename plack_max_requests)
78
    [ -z $PLACK_MAX_REQUESTS ] && PLACK_MAX_REQUESTS="50"
79
    PLACK_WORKERS=$(run_safe_xmlstarlet $instancename plack_workers)
80
    [ -z $PLACK_WORKERS ] && PLACK_WORKERS="2"
81
82
    STARMANOPTS="-M FindBin --max-requests ${PLACK_MAX_REQUESTS} --workers ${PLACK_WORKERS} \
78
                 --user=${instancename}-koha --group ${instancename}-koha \
83
                 --user=${instancename}-koha --group ${instancename}-koha \
79
                 --pid ${PIDFILE} \
84
                 --pid ${PIDFILE} \
80
                 --daemonize \
85
                 --daemonize \
(-)a/debian/templates/koha-conf-site.xml.in (+4 lines)
Lines 315-320 __END_SRU_PUBLICSERVER__ Link Here
315
    <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
315
    <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
316
 </ttf>
316
 </ttf>
317
317
318
 <!-- Configuration for Plack -->
319
 <plack_max_requests>50</plack_max_requests>
320
 <plack_workers>2</plack_workers>
321
318
 <elasticsearch>
322
 <elasticsearch>
319
     <server>localhost:9200</server>
323
     <server>localhost:9200</server>
320
     <index_name>koha___KOHASITE__</index_name>
324
     <index_name>koha___KOHASITE__</index_name>
(-)a/etc/koha-conf.xml (-1 / +4 lines)
Lines 142-146 __PAZPAR2_TOGGLE_XML_POST__ Link Here
142
    <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
142
    <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
143
 </ttf>
143
 </ttf>
144
144
145
 <!-- Configuration for Plack -->
146
 <plack_max_requests>50</plack_max_requests>
147
 <plack_workers>2</plack_workers>
148
145
</config>
149
</config>
146
</yazgfs>
150
</yazgfs>
147
- 

Return to bug 17610