-
Notifications
You must be signed in to change notification settings - Fork 232
/
supervisord-timescale.conf
55 lines (46 loc) · 1.47 KB
/
supervisord-timescale.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
[supervisord]
nodaemon=true
user=root
pidfile=/var/run/supervisord.pid
logfile=/var/log/supervisor/supervisord.log
childlogdir=/var/log/supervisor
[unix_http_server]
file=/var/run/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[program:supervisord_bootstrap]
command=/pgwatch2/bootstrap/supervisord_bootstrap_pg.sh
autorestart=false
startsecs=0
autostart=true
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:postgres]
command=/usr/lib/postgresql/15/bin/postgres -D /var/lib/postgresql/15/main -c config_file=/etc/postgresql/15/main/postgresql.conf
user=postgres
startsecs=0
priority=1
autostart=false
[program:pgwatch2]
command=/pgwatch2/pgwatch2
priority=300
autostart=false
[program:webpy]
command=python3 /pgwatch2/webpy/web.py
priority=400
autostart=false
[program:grafana]
command=/usr/sbin/grafana-server --homepath=/usr/share/grafana --pidfile=/var/run/grafana/grafana-server.pid --config=/etc/grafana/grafana.ini --packaging=deb cfg:default.paths.provisioning=/etc/grafana/provisioning cfg:default.paths.data=/var/lib/grafana cfg:default.paths.logs=/var/log/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins
user=grafana
startsecs=0
priority=500
autostart=false
[program:grafana_dashboard_setup]
command=/pgwatch2/bootstrap/set_up_grafana_dashboards_pg.sh
priority=600
autorestart=false
startsecs=0
autostart=false