mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-30 23:07:56 +07:00 
			
		
		
		
	Use systemctl instead of services to install blackfire
This commit is contained in:
		 Jérôme Vieilledent
					Jérôme Vieilledent
				
			
				
					committed by
					
						 Shivam Mathur
						Shivam Mathur
					
				
			
			
				
	
			
			
			 Shivam Mathur
						Shivam Mathur
					
				
			
						parent
						
							dbf50bf9e0
						
					
				
				
					commit
					c2e811ce23
				
			| @ -16,7 +16,7 @@ add_blackfire_darwin() { | ||||
| blackfire_config() { | ||||
|   if [[ -n $BLACKFIRE_SERVER_ID ]] && [[ -n $BLACKFIRE_SERVER_TOKEN ]]; then | ||||
|     blackfire agent:config --server-id="$BLACKFIRE_SERVER_ID" --server-token="$BLACKFIRE_SERVER_TOKEN" | ||||
|     [ "$os" = "Linux" ] && sudo service blackfire-agent restart | ||||
|     [ "$os" = "Linux" ] && sudo systemctl start blackfire-agent | ||||
|     [ "$os" = "Darwin" ] && brew services start blackfire | ||||
|   fi | ||||
|   if [[ -n $BLACKFIRE_CLIENT_ID ]] && [[ -n $BLACKFIRE_CLIENT_TOKEN ]]; then | ||||
|  | ||||
		Reference in New Issue
	
	Block a user