mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 04:14:01 +01:00 
			
		
		
		
	* init script for gentoo (#3761) * replace Gogs to Gitea * remove override port number * remove port
		
			
				
	
	
		
			16 lines
		
	
	
		
			224 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			224 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#!/sbin/openrc-run
 | 
						|
 | 
						|
DIR=/home/git/gitea
 | 
						|
USER=git
 | 
						|
 | 
						|
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
 | 
						|
command="${DIR}/gitea"
 | 
						|
command_args="web"
 | 
						|
command_background=yes
 | 
						|
pidfile=/var/run/gitea.pid
 | 
						|
 | 
						|
depend()
 | 
						|
{
 | 
						|
    need net
 | 
						|
}
 |