整理文档

This commit is contained in:
ChuNa7a committed 2026-10-16 18:09:11 +08:00
1 parent a18362fd60
commit a8c22b1b07
22 files changed
+1495 -519

No files matched your search

+4 -5
View File
@@ -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