ckan-2-6-legacy/conf/supervisord-ckan-services.conf

33 lines
856 B
Plaintext

[program:redis]
command=/etc/init.d/redis-server start
autostart=true
autorestart=true
stderr_logfile=/var/log/redis.err.log
stdout_logfile=/var/log/redis.out.log
[program:nginx]
command=/etc/init.d/nginx start
autostart=true
autorestart=true
stderr_logfile=/var/log/nginx.err.log
stdout_logfile=/var/log/nginx.out.log
[program:memcached]
command=/usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1
autostart=true
autorestart=true
stderr_logfile=/var/log/memcached.err.log
stdout_logfile=/var/log/memcached.out.log
[program:ckan]
command=/usr/bin/pidproxy /var/run/apache2/apache2.pid /bin/bash -c " . /etc/apache2/envvars && /usr/sbin/apache2 -DFOREGROUND -k start "
autostart=true
autorestart=true
stderr_logfile=/var/log/apache2.err.log
stdout_logfile=/var/log/apache2.out.log
redirect_stderr=true
user=root
killasgroup=true
stopasgroup=true