1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

Merge pull request #1933 from renatoaquino/develop

HOME fix into FreeBSD init script
This commit is contained in:
Unknwon 2015-11-12 12:50:45 -05:00
commit d1e28ac013

View File

@ -31,7 +31,7 @@ stop_cmd="${name}_stop"
gogs_start() {
cd ${gogs_directory}
export USER=${gogs_user}
export HOME=${gogs_directory}
export HOME=/usr/home/${gogs_user}
/usr/sbin/daemon -f -u ${gogs_user} -p ${pidfile} $command
}