diff options
author | Renato Aquino <renato.aquino@gmail.com> | 2015-11-12 15:36:35 -0200 |
---|---|---|
committer | Renato Aquino <renato.aquino@gmail.com> | 2015-11-12 15:36:35 -0200 |
commit | 923c45d7212442afe2a63eb6b12f918ce12da10d (patch) | |
tree | e5e25f8478a1fdc970311471f1c81e7fdb245e5a /scripts | |
parent | 020fb43b775eff2cf60360be61554124d9b1b9dc (diff) | |
download | gitea-923c45d7212442afe2a63eb6b12f918ce12da10d.tar.gz gitea-923c45d7212442afe2a63eb6b12f918ce12da10d.zip |
HOME fix into FreeBSD init script
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/init/freebsd/gogs | 2 |
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 } |