[Dovecot] Use events to kill supervisord when main proc dies

[Postfix] Use events to kill supervisord when main proc dies
[SOGo] Use events to kill supervisord when main proc dies
This commit is contained in:
andryyy committed 2018-10-25 22:35:07 +02:00
1 parent 23e3bdfe5a
commit 800eebd117
9 files changed
+53 -2

No files matched your search

@@ -13,3 +13,7 @@ autostart=true
[program:postfix]
command=/opt/postfix.sh
autorestart=true
[eventlistener:processes]
command=/usr/local/sbin/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL