mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 22:24:24 +00: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
7 lines
126 B
Bash
Executable File
7 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
|