openrc: Make the init script more basic
This commit is contained in:
		
							parent
							
								
									77afd0dcd1
								
							
						
					
					
						commit
						ebe4c80400
					
				@ -1,9 +1,11 @@
 | 
			
		||||
#!/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 --log-directory /var/log/step /srv/www-step"
 | 
			
		||||
pidfile="/run/${RC_SVCNAME}.pid"
 | 
			
		||||
command_background=true
 | 
			
		||||
command_user="step:step"
 | 
			
		||||
command_args="--log-directory /var/log/step /srv/www-step"
 | 
			
		||||
 | 
			
		||||
depend() {
 | 
			
		||||
	need net
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user