mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:54:53 -05:00
HOME fix into FreeBSD init script
This commit is contained in:
parent
020fb43b77
commit
923c45d721
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue