Browse Source

Merge pull request #1933 from renatoaquino/develop

HOME fix into FreeBSD init script
for-closed-social
Unknwon 9 years ago
parent
commit
d1e28ac013
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/init/freebsd/gogs

+ 1
- 1
scripts/init/freebsd/gogs View File

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

Loading…
Cancel
Save