Restart SOGo from within panel

This commit is contained in:
andryyy
2016-12-25 10:03:37 +01:00
parent 301bd3bc9f
commit f7b95ae5a0
9 changed files with 149 additions and 32 deletions

View File

@@ -7,10 +7,19 @@ redirect_stderr=true
autostart=true
stdout_syslog=true
[group:sogo-group]
programs=reconf-domains,sogo
[program:sogo]
command=/usr/sbin/sogod
user=sogo
autorestart=true
priority=20
[program:reconf-domains]
command=/reconf-domains.sh
autorestart=true
priority=10
[program:sogo-syslog]
command=/usr/bin/tail -f /var/log/syslog -f /var/log/sogo/sogo.log
@@ -21,6 +30,11 @@ stdout_logfile_maxbytes=0
command=/usr/sbin/cron -f
autorestart=true
#[unix_http_server]
#file=/var/run/controller/supervisord.sock
#chown=www-data:nogroup
[inet_http_server]
port=9191
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=http://localhost:9191