1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 16:13:44 +00:00
gitea_packaging/package_scripts/after-install.sh
2020-04-12 13:43:49 +02:00

11 lines
223 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 /home/gitea \
gitea