generated from wabarc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
supervisord.conf
79 lines (73 loc) · 2.39 KB
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[supervisord]
pidfile=/wayback/supervisord.pid
loglevel=warn
logfile=/dev/stdout
logfile_maxbytes=0
nodaemon=true
nocleanup=false
silent=true
[program:dbus]
command=/usr/bin/dbus-daemon --session
priority=1
numprocs=1
autostart=true
autorestart=true
startsecs=1
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0
[program:wayback]
command=/bin/sh -c "set -o pipefail && /bin/sh /entrypoint.sh"
numprocs=1
autostart=true
autorestart=true
startsecs=10
startretries=2147483647
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0
[program:tor]
command=/usr/bin/tor -f /etc/tor/torrc --quiet --SocksPort 9050
priority=2
numprocs=1
autostart=true
autorestart=true
startsecs=1
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0
[program:chromium]
command=/usr/bin/chromium-browser --headless --disable-gpu --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --enable-low-end-device-mode --disable-dev-shm-usage --disable-translate --disable-extensions --disable-software-rasterizer --ignore-certificate-errors --disable-sync --use-fake-ui-for-media-stream --use-gl=swiftshader --hide-scrollbars --disable-default-apps --mute-audio --no-default-browser-check --no-first-run --disable-renderer-backgrounding --disable-backgrounding-occluded-windows --disable-background-timer-throttling --disable-site-isolation-trials --renderer-process-limit=2 --force-fieldtrials="*BackgroundTracing/default/" --js-flags="--max_old_space_size=%(ENV_GC_MEM)s" --user-agent="%(ENV_CHROMEDP_USER_AGENT)s"
priority=2
numprocs=1
autostart=true
autorestart=true
startsecs=1
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0
[program:forward]
command=/usr/bin/socat %(ENV_SOCAT_OPTIONS)s tcp-listen:%(ENV_PORT)s,reuseaddr,fork,nonblock,nodelay tcp:localhost:%(ENV_WAYBACK_TOR_LOCAL_PORT)s
numprocs=1
autostart=true
autorestart=true
startsecs=1
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0
[program:cleaner]
command=/bin/sh -c 'sleep 60 && set -o pipefail && /bin/sh /cleaner.sh'
numprocs=1
autostart=true
autorestart=true
startsecs=10
startretries=2147483647
stderr_logfile=/dev/stderr
stdout_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_logfile_maxbytes=0