add chmod+x KEEPALIVED_NOTIFY file
This commit is contained in:
		
							parent
							
								
									b0905af741
								
							
						
					
					
						commit
						b779b4d438
					
				@ -16,6 +16,7 @@ if [ ! -e "$FIRST_START_DONE" ]; then
 | 
			
		||||
 | 
			
		||||
  if [ -n "$KEEPALIVED_NOTIFY" ]; then
 | 
			
		||||
    sed -i --follow-symlinks --follow-symlinks "s|{{ keepalived_notify }}|notify \"$KEEPALIVED_NOTIFY\"|g" /etc/keepalived/keepalived.conf
 | 
			
		||||
    chmod +x $KEEPALIVED_NOTIFY
 | 
			
		||||
  else
 | 
			
		||||
    sed -i --follow-symlinks --follow-symlinks "/{{ keepalived_notify }}/d" /etc/keepalived/keepalived.conf
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user