supervisord.conf 259 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
[supervisord]
nodaemon=true

[program:apache2]
command=/usr/sbin/apache2ctl -D FOREGROUND
autostart=true
autorestart=true

[program:flask]
command=/opt/myenv/bin/python /var/www/html/moodle/api.py
directory=/var/www/html/moodle
autostart=true
autorestart=true