13 lines
304 B
Bash
13 lines
304 B
Bash
#!/bin/sh
|
|
cat > /etc/supervisor/supervisord.conf <<'EOF'
|
|
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
|
|
[include]
|
|
files = /etc/supervisor/conf.d/*.conf
|
|
EOF
|
|
|
|
# nodaemon=true keeps supervisord in the foreground, so detach it here
|
|
supervisord -c /etc/supervisor/supervisord.conf &
|