dev-vcs/gitlab-runner:
Add ebuild for version 10.0.2; this is the first ebuild of this package. Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
		
							parent
							
								
									730d61da3b
								
							
						
					
					
						commit
						6f4291fd4a
					
				
					 6 changed files with 141 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								dev-vcs/gitlab-runner/files/gitlab-runner-10.0.2.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								dev-vcs/gitlab-runner/files/gitlab-runner-10.0.2.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| LOGFILE=/var/log/gitlab-runner.log | ||||
| USER=@USER@ | ||||
| HOME_DIR="@HOME@" | ||||
							
								
								
									
										23
									
								
								dev-vcs/gitlab-runner/files/gitlab-runner-10.0.2.init
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								dev-vcs/gitlab-runner/files/gitlab-runner-10.0.2.init
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| #!/sbin/openrc-run | ||||
| # Copyright 2015-2017 Nicolas Heine | ||||
| 
 | ||||
| depend() { | ||||
|         after sshd | ||||
|         need net | ||||
|         need localmount | ||||
| } | ||||
| 
 | ||||
| start() { | ||||
|         ebegin "Starting gitlab-runner" | ||||
|         checkpath -d /var/run | ||||
|         checkpath -f -o ${USER} -m640 "${LOGFILE}" | ||||
|         start-stop-daemon --start -b -u ${USER} --chdir "${HOME_DIR}" --pidfile /var/run/gitlab-runner.pid -1 "${LOGFILE}" -2 "${LOGFILE}" --make-pidfile \ | ||||
|                 --exec /usr/bin/gitlab-runner -- run --config /etc/gitlab-runner/config.toml | ||||
|         eend $? | ||||
| } | ||||
| 
 | ||||
| stop() { | ||||
|         ebegin "Stopping gitlab-runner" | ||||
|         start-stop-daemon --stop --pidfile /var/run/gitlab-runner.pid | ||||
|         eend $? | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue