mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Synced gitignores with github repo (#1245)
* Renamed scripts directory into contrib * Added script to download gitignores from github * Synced gitignores with github repo
This commit is contained in:
		
							
								
								
									
										19
									
								
								contrib/init/openbsd/gitea
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										19
									
								
								contrib/init/openbsd/gitea
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
#
 | 
			
		||||
# $OpenBSD$
 | 
			
		||||
 | 
			
		||||
daemon="/home/git/gitea/gitea"
 | 
			
		||||
daemon_user="git"
 | 
			
		||||
daemon_flags="web"
 | 
			
		||||
 | 
			
		||||
gitea_directory="/home/git/gitea"
 | 
			
		||||
 | 
			
		||||
rc_bg=YES
 | 
			
		||||
 | 
			
		||||
. /etc/rc.d/rc.subr
 | 
			
		||||
 | 
			
		||||
rc_start() {
 | 
			
		||||
	${rcexec} "cd ${gitea_directory}; ${daemon} ${daemon_flags} ${_bg}"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
rc_cmd $1
 | 
			
		||||
		Reference in New Issue
	
	Block a user