mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-29 18:02:29 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			400 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			400 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| daemon=ucentralsec
 | |
| 
 | |
| if [[ "$1" == "aws" ]]
 | |
| then
 | |
| 	cp ${daemon}.properties.aws ${daemon}.properties
 | |
| 	. ./set_env.sh
 | |
| 	cd cmake-build
 | |
| 	./${daemon} --daemon
 | |
| 	echo "Running AWS version as daemon..."
 | |
| fi
 | |
| 
 | |
| if [[ "$1" == "priv" ]]
 | |
| then
 | |
|   cp ${daemon}.properties.priv ${daemon}.properties
 | |
|   . ./set_env.sh
 | |
|   cd cmake-build
 | |
|   ./${daemon} --daemon
 | |
|   echo "Running private version as daemon..."
 | |
| fi
 | |
| 
 | |
| 
 | |
| 
 | 
