-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupervisord.conf
More file actions
43 lines (35 loc) · 946 Bytes
/
supervisord.conf
File metadata and controls
43 lines (35 loc) · 946 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
40
41
42
43
[supervisord]
nodaemon=true
file=/var/run/supervisor.sock ; (the path to the socket file)
[program:sshd]
command=/usr/sbin/sshd -D
autorestart=true
[program:mysql]
command=/startmysql.sh
user=mysql
autorestart=true
[program:postgresql]
command=/usr/lib/postgresql/12/bin/postgres -D /var/lib/postgresql/12/main -c config_file=/etc/postgresql/12/main/postgresql.conf
user=postgres
autorestart=true
[program:mongodb]
command=/usr/bin/mongod --config /etc/mongod.conf --dbpath /var/lib/mongodb/ --logpath /var/log/mongodb/mongod.log
user=mongodb
autorestart=true
[program:python]
command=/startrestserver.sh
user=root
autorestart=true
[program:startupscript]
command=/usr/bin/bash -c "exec /startupscript.sh > /dev/null 2>&1 -DFOREGROUND"
autostart=true
autorestart=false
startretries=0
[program:SMTP]
command=/etc/init.d/exim4 restart
user=root
autorestart=false
[program:gitserver]
command=/git-server/start.sh
user=root
autorestart=true