aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/init/freebsd/gogs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init/freebsd/gogs')
-rw-r--r--scripts/init/freebsd/gogs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init/freebsd/gogs b/scripts/init/freebsd/gogs
index e1d3bdee90..42258c405c 100644
--- a/scripts/init/freebsd/gogs
+++ b/scripts/init/freebsd/gogs
@@ -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
}