Browse Source

HOME fix into FreeBSD init script

pull/1933/head
Renato Aquino 9 years ago
parent
commit
923c45d721
  1. 2
      scripts/init/freebsd/gogs

2
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
}

Loading…
Cancel
Save