1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-05 23:34:19 -04:00

HOME fix into FreeBSD init script

This commit is contained in:
Renato Aquino 2015-11-12 15:36:35 -02:00
parent 020fb43b77
commit 923c45d721

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
}