Implement signal handling

This commit is contained in:
Jan Dittberner 2020-12-26 17:10:15 +01:00 committed by Jan Dittberner
parent aa9685aa27
commit fd9d45668b
5 changed files with 25 additions and 15 deletions

View file

@ -7,4 +7,6 @@ chmod 0640 /etc/dovecot/imap_user.txt
chown dovecot.dovecot /etc/dovecot/imap_user.txt
echo "log_path = /dev/stderr" > /etc/dovecot/local.conf
trap "exit 0" TERM INT
dovecot -F