-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsupervisord.conf
99 lines (87 loc) · 2.84 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[program:http_server]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u http_server.py
user = 1000
autostart = true
autorestart = true
directory = bin/HTTPServer
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/http_server_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/http_server_stderr.log
[program:joystick]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u joystick.py
user = 1000
autostart = true
autorestart = true
directory = bin/Joystick
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/joystick_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/joystick_stderr.log
[program:rnet_ctrl]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u rnet_ctrl.py
user = 1000
autostart = true
autorestart = true
directory = bin/RnetCtrl
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/rnet_ctrl_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/rnet_ctrl_stderr.log
[program:IR_ctrl]
command = python3 -u IR_ctrl.py
user = 1000
autostart = true
autorestart = true
directory = bin/IR
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/IR_ctrl_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/IR_ctrl_stderr.log
[program:tv_ctrl]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u TV_ctrl.py
user = 1000
autostart = true
autorestart = true
directory = bin/IR
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/TV_ctrl_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/TV_ctrl_stderr.log
[program:tv_AUTO_ctrl]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u TV_AUTO_ctrl.py
user = 1000
autostart = true
autorestart = true
directory = bin/IR
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/TV_AUTO_ctrl_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/TV_AUTO_ctrl_stderr.log
[program:ble_hid_mouse]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u ble_hid_mouse.py
user = 1000
autostart = true
autorestart = true
directory = bin/Bluetooth
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/ble_hid_mouse_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/ble_hid_mouse_stderr.log
[program:ble_agent]
command = %(ENV_USER_HOME)s/.venv/bin/python3 -u ble_agent.py
user = 1000
autostart = true
autorestart = true
directory = bin/Bluetooth
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/ble_agent_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/ble_agent_stderr.log
[program:joystick_log]
command = %(ENV_USER_HOME)s/.venv/bin/python3 joystick_log.py
user = 1000
autostart = false
autorestart = true
directory = bin/Joystick
stdout_logfile = %(ENV_MAGICK_JOY_LOG)s/joystick_log_stdout.log
stdout_errfile = %(ENV_MAGICK_JOY_LOG)s/joystick_log_stderr.log
[supervisord]
pidfile = /tmp/supervisord.pid
logfile = %(ENV_MAGICK_JOY_LOG)s/supervisor.log
loglevel = info
logfile_maxbytes = 50MB
logfile_backups = 5
nodaemon = true
silent = true
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
prompt = magick_joystick
serverurl = http://localhost:9000
[inet_http_server]
port = 0.0.0.0:9000