Update gitea-mirror-install.sh
This commit is contained in:
parent
467a2a9fbf
commit
db6afe10d0
@ -38,6 +38,7 @@ msg_ok "Installed gitea-mirror"
|
|||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
JWT_SECRET=$(openssl rand -hex 32)
|
JWT_SECRET=$(openssl rand -hex 32)
|
||||||
|
APP_VERSION=$(grep -o '"version": *"[^"]*"' package.json | cut -d'"' -f4)
|
||||||
cat <<EOF >/etc/systemd/system/gitea-mirror.service
|
cat <<EOF >/etc/systemd/system/gitea-mirror.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gitea Mirror
|
Description=Gitea Mirror
|
||||||
|
Loading…
x
Reference in New Issue
Block a user