Update gitea-mirror-install.sh

This commit is contained in:
Tobias 2025-06-02 10:47:33 +02:00 committed by GitHub
parent 4928928be5
commit fa92775e42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,6 @@ msg_info "Installing gitea-mirror"
cd /opt/gitea-mirror cd /opt/gitea-mirror
bun install bun install
bun run build bun run build
mkdir -p /opt/gitea-mirror-data/
bun run manage-db init bun run manage-db init
msg_ok "Installed gitea-mirror" msg_ok "Installed gitea-mirror"
@ -58,7 +57,7 @@ Environment=JWT_SECRET=${JWT_SECRET}
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now gite-mirror systemctl enable -q --now gitea-mirror
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh