mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			514 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			514 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| name="Laminar CI"
 | |
| description="Fast and lightweight Continuous Integration server"
 | |
| 
 | |
| : ${output_logger="logger -t laminard -p daemon.info >/dev/null 2>&1"}
 | |
| : ${error_logger="logger -t laminard -p daemon.err >/dev/null 2>&1"}
 | |
| 
 | |
| command="/usr/bin/laminard"
 | |
| command_user="laminar:laminar"
 | |
| command_background="yes"
 | |
| directory="/var/lib/$RC_SVCNAME"
 | |
| pidfile="/run/$RC_SVCNAME.pid"
 | |
| 
 | |
| depend() {
 | |
| 	need localmount
 | |
| }
 | |
| 
 | |
| start_pre() {
 | |
| 	checkpath -d -o "$command_user" "$directory"
 | |
| 
 | |
| 	source /etc/laminar.conf
 | |
| }
 |