openrc: Add untested init script
This commit is contained in:
		
							parent
							
								
									f8bbf7f3fc
								
							
						
					
					
						commit
						c48e67e022
					
				
							
								
								
									
										10
									
								
								openrc/stepd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								openrc/stepd
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#!/sbin/openrc-run
 | 
				
			||||||
 | 
					name="STEP"
 | 
				
			||||||
 | 
					description="An HTTP server that automaticaly executes STEP files"
 | 
				
			||||||
 | 
					pidfile="/run/${RC_SVCNAME}.pid"
 | 
				
			||||||
 | 
					command="/usr/local/bin/stepd"
 | 
				
			||||||
 | 
					command_args="--pid-file ${pidfile} --user step:step"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					depend() {
 | 
				
			||||||
 | 
						need net
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user