simplify SOGO container

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-05 18:49:49 +02:00
parent 4861a0764f
commit e77c85700e
7 changed files with 86 additions and 136 deletions
@@ -0,0 +1,41 @@
# each program entry below is a separate terminal command.
# Each command MUST run in the foreground and stay running.
# If the command ever exits, the supervisor daemon will automatically run it again.
# Programs can be controlled like this: 'supervisorctl start fail2ban' 'supervisorctl stop fail2ban'
# supervisor writes program statuses in /var/log/supervisor
[supervisord]
nodaemon=true
[program:apache2]
startsecs=0
autostart=true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
environment=APACHE_ARGUMENTS="-DNO_DETACH"
command=/usr/sbin/apache2ctl start
[program:memcached]
startsecs=0
autostart=true
autorestart=true
user=memcache
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/usr/bin/memcached -m 128 -a 0666 -s /var/run/memcached/memcached.sock
[program:sogo]
startsecs=0
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=sogo
command=/usr/sbin/sogod -WONoDetach YES -WOPidFile /var/run/sogo/sogo.pid