mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-02 10:07:07 -05:00
ecfc401eaa
* If using a different $USER then rename git user * Chown based on $USER env * Target only one part of passwd * su-exec based on $USER not a hardcoded value
6 lines
126 B
Bash
Executable file
6 lines
126 B
Bash
Executable file
#!/bin/bash
|
|
[[ -f ./setup ]] && source ./setup
|
|
|
|
pushd /app/gitea > /dev/null
|
|
exec su-exec $USER /app/gitea/gitea web
|
|
popd
|