整理文档
This commit is contained in:
1 parent
06a3d8506b
commit
0e347aad9e
26 files changed
+1552
-521
No files matched your search
@@ -7,8 +7,7 @@ chmod 755 /auth
|
||||
chown 10002:10002 /srv/ingress
|
||||
chmod 750 /srv/ingress
|
||||
chown 10003:10003 /db-data /db-logs
|
||||
if [ ! -d /srv/ingress/content.git ]; then
|
||||
setpriv --reuid=10002 --regid=10002 --clear-groups git init --bare --initial-branch=main --shared=group /srv/ingress/content.git
|
||||
setpriv --reuid=10002 --regid=10002 --clear-groups git -C /srv/ingress/content.git config receive.denyNonFastForwards true
|
||||
setpriv --reuid=10002 --regid=10002 --clear-groups git -C /srv/ingress/content.git config receive.denyDeletes true
|
||||
fi
|
||||
# Per-author repositories are created lazily by the authenticated SSH gateway.
|
||||
mkdir -p /srv/ingress/authors
|
||||
chown 10002:10002 /srv/ingress/authors
|
||||
chmod 750 /srv/ingress/authors
|
||||
Reference in new issue
Block a user