Skip to content

Instantly share code, notes, and snippets.

@hechien
Created January 9, 2017 03:17
Show Gist options
  • Save hechien/0ca6070137e0cbe67e4f1d2c2554c189 to your computer and use it in GitHub Desktop.
Save hechien/0ca6070137e0cbe67e4f1d2c2554c189 to your computer and use it in GitHub Desktop.
For Docker use
[supervisord]
nodaemon=true
[program:sshd]
command=/usr/sbin/sshd -D
autorestart=true
[program:apache2]
command=/bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFORGROUND"
autorestart=true
[program:mysql]
command=/usr/bin/pidproxy /var/run/mysqld/mysqld.pid /usr/sbin/mysqld
autorestart=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment