-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisord.conf
More file actions
39 lines (32 loc) · 923 Bytes
/
supervisord.conf
File metadata and controls
39 lines (32 loc) · 923 Bytes
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
[supervisord]
nodaemon = true
user = root
#loglevel = debug
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[program:sshd]
command = /usr/sbin/sshd -D
[program:xvfb]
command = /usr/bin/Xvfb :1 -screen 0 1280x1023x24
priority = 100
[program:x11vnc]
environment = DISPLAY=":1",XAUTHLOCALHOSTNAME="localhost"
command = /usr/bin/x11vnc -repeat -xkb -noxrecord -noxfixes -noxdamage -wait 10 -shared -permitfiletransfer -tightfilexfer -rfbauth /.password2
autorestart = true
priority = 200
[program:startxfce4]
environment = USER="dcsuser",HOME="/home/dcsuser",DISPLAY=":1"
command = /usr/bin/startxfce4
autorestart = true
directory = /home/dcsuser
user = dcsuser
priority = 300
## Supervisord configuration to autostart DCS
[program:dcs]
priority=35
command=/home/dcsuser/dcs-run.sh
directory=/home/dcsuser
user=dcsuser
startsecs=0
autorestart=false
environment=DISPLAY=":1",HOME="/home/dcsuser",USER="dcsuser"