Implement signal handling
This commit is contained in:
		
							parent
							
								
									aa9685aa27
								
							
						
					
					
						commit
						fd9d45668b
					
				
					 5 changed files with 25 additions and 15 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
|  | @ -4,4 +4,6 @@ set -eu | |||
| mkdir -p /home/catchall/Maildir/tmp /home/catchall/Maildir/new /home/catchall/Maildir/cur | ||||
| chown -Rc catchall.catchall /home/catchall/Maildir | ||||
| 
 | ||||
| trap "exit 0" INT TERM | ||||
| 
 | ||||
| postfix start-fg | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue