git://blacka.com
/
docker_gitea.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit
[docker_gitea.git]
/
setup.sh
1
#! /bin/bash
2
3
GITEA_HOME=/var/lib/gitea
4
5
# create the 'gitea' user to run and own this thing
6
if ! id -u 985 >/dev/null 2>&1; then
7
groupadd -g 895 gitea
8
useradd -u 895 -g gitea -d "$GITEA_HOME" -m gitea
9
fi
10
11
install -d "$GITEA_HOME/data"