-
Notifications
You must be signed in to change notification settings - Fork 25
/
supervisord.conf
76 lines (68 loc) · 2.06 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
[supervisord]
nodaemon=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
stderr_logfile_maxbytes=0
[program:Xvfb]
command=/usr/bin/Xvfb :0 -screen 0 1024x768x24
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
stderr_logfile_maxbytes=0
#[program:x11vnc]
#command=/usr/bin/x11vnc -noxrecord
#autorestart=true
#stdout_logfile=/dev/fd/1
#stdout_logfile_maxbytes=0
#redirect_stderr=true
#stderr_logfile_maxbytes=0
#[program:novnc]
#command=/root/novnc/utils/launch.sh --vnc localhost:5900 --listen 8080
#autorestart=true
#stdout_logfile=/dev/fd/1
#stdout_logfile_maxbytes=0
#redirect_stderr=true
#stderr_logfile_maxbytes=0
#[program:fluxbox]
#command=/usr/bin/fluxbox
#autorestart=true
#stdout_logfile=/dev/fd/1
#stdout_logfile_maxbytes=0
#redirect_stderr=true
#stderr_logfile_maxbytes=0
[program:wine-iqfeed-startup]
command=/bin/bash -c "savelog -l -n -c 7 /root/DTN/IQFeed/wine.log && wine64 /root/.wine/drive_c/Program\ Files/DTN/IQFeed/iqconnect_patched.exe -product $IQFEED_PRODUCT_ID -version IQFEED_LAUNCHER -login $IQFEED_LOGIN -password $IQFEED_PASSWORD -autoconnect -savelogininfo 2>&1 | tee -a /root/DTN/IQFeed/wine.log"
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
stderr_logfile_maxbytes=0
startretries=10
[program:pyiqfeed-admin-conn]
command=python3 /root/pyiqfeed_admin_conn.py
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
stderr_logfile_maxbytes=0
startretries=10
#[program:iqfeed-proxy]
#command=nodejs /root/app/proxy.js
#autorestart=true
#stdout_logfile=/dev/fd/1
#stdout_logfile_maxbytes=0
#redirect_stderr=true
#stderr_logfile_maxbytes=0
; netcat keeps a connection open to the client so it doesn't terminate for inactivity
[program:netcat]
priority = 200
command=/bin/netcat 127.0.0.1 9300
environment = DISPLAY=":0"
autorestart = true
stdout_logfile=/dev/null
stdout_logfile_maxbytes = 0
redirect_stderr=true
stderr_logfile_maxbytes = 0
startretries = 10