mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
add softcoded threads while we're at it
This commit is contained in:
parent
a5b7f7bb75
commit
27c948c5da
2 changed files with 2 additions and 1 deletions
|
@ -39,3 +39,4 @@ kiwix_library_xml: "{{ iiab_zim_path }}/library.xml"
|
|||
# - OLD WAY: rm /opt/iiab/kiwix/bin/kiwix-serve; cd /opt/iiab/iiab; ./runrole kiwix
|
||||
kiwix_force_install: False
|
||||
kiwix_nginx_timeout: 600
|
||||
kiwix_threads: 4
|
||||
|
|
|
@ -4,7 +4,7 @@ After=syslog.target network.target local-fs.target
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart={{ iiab_base }}/kiwix/bin/kiwix-serve --daemon --port {{ kiwix_port }} --nolibrarybutton --library {{ kiwix_library_xml }} --urlRootLocation={{ kiwix_url }}
|
||||
ExecStart={{ iiab_base }}/kiwix/bin/kiwix-serve --daemon --port {{ kiwix_port }} --nolibrarybutton --library {{ kiwix_library_xml }} --urlRootLocation={{ kiwix_url }} --threads {{ kiwix_threads }}
|
||||
TimeoutStartSec=180
|
||||
Restart=on-abort
|
||||
RestartSec=5s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue