This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 231
/
supervisord.conf
57 lines (47 loc) · 1.54 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
[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.sh
autorestart=false
startsecs=0
autostart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:postgres]
command=/usr/lib/postgresql/9.5/bin/postgres -D /var/lib/postgresql/9.5/main -c config_file=/etc/postgresql/9.5/main/postgresql.conf
user=postgres
priority=1
autostart=false
[program:influxdb]
command=/usr/bin/influxd -config /etc/influxdb/influxdb.conf
priority=200
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
priority=500
autostart=false
[program:grafana_dashboard_setup]
command=/pgwatch2/bootstrap/set_up_grafana_dashboards.sh
priority=600
autorestart=false
startsecs=0
autostart=false