mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 08:03:29 +00:00
3a7165778a
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
15 lines
308 B
Bash
15 lines
308 B
Bash
# https://docs.gitea.io/en-us/install-from-binary/
|
|
|
|
getent passwd gitea >/dev/null 2>&1 || adduser \
|
|
--system \
|
|
--shell /bin/bash \
|
|
--gecos 'Gitea' \
|
|
--group \
|
|
--disabled-password \
|
|
--home /var/lib/gitea \
|
|
gitea
|
|
|
|
if [ ! -d /etc/gitea ]; then
|
|
install -d -o gitea -g gitea -m 770 /etc/gitea
|
|
fi
|