aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRenato Aquino <renato.aquino@gmail.com>2015-11-12 15:36:35 -0200
committerRenato Aquino <renato.aquino@gmail.com>2015-11-12 15:36:35 -0200
commit923c45d7212442afe2a63eb6b12f918ce12da10d (patch)
treee5e25f8478a1fdc970311471f1c81e7fdb245e5a /scripts
parent020fb43b775eff2cf60360be61554124d9b1b9dc (diff)
downloadgitea-923c45d7212442afe2a63eb6b12f918ce12da10d.tar.gz
gitea-923c45d7212442afe2a63eb6b12f918ce12da10d.zip
HOME fix into FreeBSD init script
Diffstat (limited to 'scripts')
-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
}