In case of mounting /var/spool/postfix, delete master.pid first
This commit is contained in:
		
							
								
								
									
										6
									
								
								run.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								run.sh
									
									
									
									
									
								
							@@ -64,6 +64,10 @@ if [ ! -z "${SMTP_NETWORKS}" ]; then
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
add_config_value "mynetworks" "${nets}"
 | 
					add_config_value "mynetworks" "${nets}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
#Start services
 | 
					#Start services
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# If host mounting /var/spool/postfix, we need to delete old pid file before
 | 
				
			||||||
 | 
					# starting services
 | 
				
			||||||
 | 
					rm -f /var/spool/postfix/pid/master.pid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
supervisord
 | 
					supervisord
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user