mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 09:44:21 +00:00 
			
		
		
		
	HOME fix into FreeBSD init script
This commit is contained in:
		@@ -31,7 +31,7 @@ stop_cmd="${name}_stop"
 | 
				
			|||||||
gogs_start() {
 | 
					gogs_start() {
 | 
				
			||||||
	cd ${gogs_directory}
 | 
						cd ${gogs_directory}
 | 
				
			||||||
	export USER=${gogs_user}
 | 
						export USER=${gogs_user}
 | 
				
			||||||
	export HOME=${gogs_directory}
 | 
						export HOME=/usr/home/${gogs_user}
 | 
				
			||||||
	/usr/sbin/daemon -f -u ${gogs_user} -p ${pidfile} $command
 | 
						/usr/sbin/daemon -f -u ${gogs_user} -p ${pidfile} $command
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user