Efforts to make ucloud a python package
This commit is contained in:
		
					parent
					
						
							
								bbe09667a6
							
						
					
				
			
			
				commit
				
					
						1e7300b56e
					
				
			
		
					 71 changed files with 241 additions and 1043 deletions
				
			
		
							
								
								
									
										8
									
								
								ucloud/hack/rc-scripts/ucloud-host
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								ucloud/hack/rc-scripts/ucloud-host
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
#!/sbin/openrc-run
 | 
			
		||||
 | 
			
		||||
name="$RC_SVCNAME"
 | 
			
		||||
pidfile="/var/run/${name}.pid"
 | 
			
		||||
command="$(which pipenv)"
 | 
			
		||||
command_args="run python ucloud.py host ${HOSTNAME}"
 | 
			
		||||
command_background="true"
 | 
			
		||||
directory="/root/ucloud"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue