Commit 4a1b02c4 authored by rgaudin's avatar rgaudin
Browse files

Merge branch 'more-kiwix-serve-threads' into 'master'

Increase count of available kiwix-serve thread from 4 to 8

See merge request !57
parents 429516fb d2edd779
......@@ -4,7 +4,7 @@ Description=Kiwix server
[Service]
User={{ username }}
Group={{ group }}
ExecStart=/bin/sh -c "ls {{ zim_path }}/*.zim && /usr/local/bin/kiwix-serve --port=8002 $(ls {{ zim_path }}/*.zim) || /usr/local/bin/kiwix-serve --port=8002 --library {{ zim_path }}/library.xml"
ExecStart=/bin/sh -c "ls {{ zim_path }}/*.zim && /usr/local/bin/kiwix-serve --threads=8 --port=8002 $(ls {{ zim_path }}/*.zim) || /usr/local/bin/kiwix-serve --port=8002 --library {{ zim_path }}/library.xml"
Restart=always
KillSignal=SIGQUIT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment