-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.conf
More file actions
85 lines (77 loc) · 3.28 KB
/
Copy pathbase.conf
File metadata and controls
85 lines (77 loc) · 3.28 KB
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
80
81
82
83
84
85
[program:dbus]
command=/bin/bash -lc 'BUS_PATH="${XDG_RUNTIME_DIR:-/run/user/1000}/bus"; mkdir -p "$(dirname "$BUS_PATH")"; rm -f "$BUS_PATH"; exec dbus-daemon --session --address=unix:path=$BUS_PATH --nofork --print-address'
user=vncuser
stdout_logfile=/var/log/supervisor/dbus.log
stderr_logfile=/var/log/supervisor/dbus.err.log
priority=50
startsecs=5
startretries=3
autostart=true
autorestart=unexpected
environment=HOME="/home/vncuser",USER="vncuser",XDG_RUNTIME_DIR="/run/user/1000",DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus",DBUS_VERBOSE=1
[program:tigervnc]
command=/usr/local/bin/start-vnc.sh
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority"
autorestart=true
startsecs=2
startretries=20
priority=100
[program:xfce]
command=/usr/bin/startxfce4
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority",DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
autorestart=true
priority=200
depends_on=tigervnc,dbus
[program:fcitx]
command=/bin/bash -lc 'if [ "$IMAGE_VARIANT" = "zh" ]; then exec fcitx5 -D -r; else exec sleep infinity; fi'
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority",DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus",XDG_RUNTIME_DIR="/run/user/1000",GTK_IM_MODULE="fcitx",QT_IM_MODULE="fcitx",XMODIFIERS="@im=fcitx",SDL_IM_MODULE="fcitx",LANG="en_US.UTF-8",LC_ALL="en_US.UTF-8"
autorestart=true
priority=230
depends_on=xfce,dbus
[program:disable_screensaver]
command=/home/vncuser/disable-screensaver.sh
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority"
autorestart=false
startsecs=0
priority=250
depends_on=xfce
stdout_logfile=/var/log/supervisor/disable_screensaver.log
stderr_logfile=/var/log/supervisor/disable_screensaver.err.log
[program:copyq]
command=/usr/bin/copyq
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority",DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus",XDG_RUNTIME_DIR="/run/user/1000",COPYQ_LOG_LEVEL="DEBUG",COPYQ_LOG_FILE="/home/vncuser/copyq.log"
autorestart=true
priority=260
startsecs=5
depends_on=xfce,dbus
stdout_logfile=/var/log/supervisor/copyq.log
stderr_logfile=/var/log/supervisor/copyq.err.log
[program:chrome]
command=/usr/local/bin/start-chrome.sh
user=vncuser
environment=HOME="/home/vncuser",USER="vncuser",DISPLAY=":99",XAUTHORITY="/home/vncuser/.Xauthority",DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus",XDG_RUNTIME_DIR="/run/user/1000",LANG="en_US.UTF-8",LC_ALL="en_US.UTF-8"
autorestart=true
priority=400
depends_on=dbus,tigervnc,fcitx
stdout_logfile=/var/log/supervisor/chrome.log
stderr_logfile=/var/log/supervisor/chrome.err.log
[program:socat]
command=socat TCP-LISTEN:9223,fork,reuseaddr TCP:localhost:9222
user=vncuser
autorestart=true
priority=450
stdout_logfile=/var/log/supervisor/socat.log
stderr_logfile=/var/log/supervisor/socat.err.log
[program:websockify]
command=websockify --web=/usr/local/lib/python3.13/dist-packages/websockify 6080 localhost:5900
user=vncuser
autorestart=true
priority=450
depends_on=tigervnc
stdout_logfile=/var/log/supervisor/websockify.log
stderr_logfile=/var/log/supervisor/websockify.err.log