fix a couple of svc definitions

This commit is contained in:
Noah Levitt 2019-03-24 16:06:36 -07:00
parent 48bb03418f
commit 9c658cddf7
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,8 @@ logfile=/var/log/brozzler-dashboard.log
touch $logfile
chown {{user}} $logfile
source /opt/brozzler-dashboard-ve3/bin/activate
exec nice setuidgid {{user}} \
env WAYBACK_BASEURL=http://{{groups['pywb'][0]}}:8880/brozzler \
RETHINKDB_SERVERS={{groups['rethinkdb'] | join(',')}} \

View File

@ -1,12 +1,13 @@
#!/bin/bash
logfile=/var/log/warcprox.log
touch $logfile
chown {{user}} $logfile
ulimit -n 4096
cd {{work_dir}}
source {{venv_root}}/warcprox-ve3/bin/activate
exec nice -n5 setuidgid {{user}} env LANG=en_US.UTF-8 LC_COLLATE=C warcprox \