2016-10-13 17:21:55 -07:00
|
|
|
description "warcprox"
|
|
|
|
|
|
|
|
start on runlevel [2345]
|
|
|
|
stop on runlevel [!2345]
|
|
|
|
|
|
|
|
# by default warcprox creates some files/dirs relative to cwd
|
|
|
|
chdir {{work_dir}}
|
|
|
|
setuid {{user}}
|
|
|
|
|
|
|
|
console log
|
|
|
|
|
|
|
|
# --profile
|
2019-03-19 16:37:13 -07:00
|
|
|
exec nice {{venv_root}}/warcprox-ve3/bin/python {{venv_root}}/warcprox-ve3/bin/warcprox \
|
2016-11-14 10:03:40 -08:00
|
|
|
--address=0.0.0.0 \
|
2016-10-13 17:21:55 -07:00
|
|
|
--dir={{warcs_dir}} \
|
|
|
|
--base32 \
|
|
|
|
--gzip \
|
|
|
|
--rollover-idle-time=180 \
|
|
|
|
--onion-tor-socks-proxy=localhost:9050 \
|
2017-12-15 16:47:15 -08:00
|
|
|
--rethinkdb-services-url=rethinkdb://{{groups['rethinkdb']|join(',')}}/brozzler/services \
|
|
|
|
--rethinkdb-stats-url=rethinkdb://{{groups['rethinkdb']|join(',')}}/brozzler/stats \
|
|
|
|
--rethinkdb-big-table-url=rethinkdb://{{groups['rethinkdb']|join(',')}}/brozzler/captures
|