16 lines
		
	
	
		
			217 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			217 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/sbin/openrc-run
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								command="npm"
							 | 
						||
| 
								 | 
							
								command_args="run dev"
							 | 
						||
| 
								 | 
							
								pidfile="/run/hive-map.pid"
							 | 
						||
| 
								 | 
							
								supervisor="supervise-daemon"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								depend() {
							 | 
						||
| 
								 | 
							
									need hive-cc
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								start() {
							 | 
						||
| 
								 | 
							
									cd /hiveemulator/src/MapClient/
							 | 
						||
| 
								 | 
							
									${command} ${command_args}
							 | 
						||
| 
								 | 
							
								}
							 |