mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Stop asterisk before installing freepbx
This commit is contained in:
		
							parent
							
								
									e0a7344776
								
							
						
					
					
						commit
						32c81bbb70
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,11 +11,15 @@
 | 
			
		|||
# 2021-08-12: Let's try to track the "official" init.d / update-rc.d
 | 
			
		||||
# instructions ('update-rc.d -f asterisk remove') but using systemd instead,
 | 
			
		||||
# to be more future-proof?
 | 
			
		||||
# 2023-04-02 The above is not true, the service is running from the asterisk install causing
 | 
			
		||||
# './start_asterisk start' to do nothing as the service is alredy running resulting in the
 | 
			
		||||
# need to use 'ignore' for 'killall -9 safe_asterisk' or './start_asterisk stop'
 | 
			
		||||
# Lets get rid of the red warning.
 | 
			
		||||
- name: "FreePBX - Disable 'asterisk' systemd service, giving FreePBX full control during boot - similar to officially recommended 'update-rc.d -f asterisk remove' at: https://wiki.freepbx.org/display/FOP/Installing+FreePBX+16+on+Debian+10.9"
 | 
			
		||||
  systemd:
 | 
			
		||||
    daemon_reload: yes
 | 
			
		||||
    name: asterisk
 | 
			
		||||
    #state: stopped
 | 
			
		||||
    state: stopped
 | 
			
		||||
    enabled: no
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue