Update gitea-mirror-install.sh
This commit is contained in:
parent
9685a2d2a2
commit
d4ec67328d
@ -32,9 +32,8 @@ fetch_and_deploy_gh_release "arunavo4/gitea-mirror"
|
|||||||
|
|
||||||
msg_info "Installing gitea-mirror"
|
msg_info "Installing gitea-mirror"
|
||||||
cd /opt/gitea-mirror
|
cd /opt/gitea-mirror
|
||||||
$STD bun install
|
$STD bun run setup
|
||||||
$STD bun run build
|
$STD bun run build
|
||||||
$STD bun run manage-db init
|
|
||||||
msg_ok "Installed gitea-mirror"
|
msg_ok "Installed gitea-mirror"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
@ -54,6 +53,7 @@ Environment=HOST=0.0.0.0
|
|||||||
Environment=PORT=4321
|
Environment=PORT=4321
|
||||||
Environment=DATABASE_URL=file:/opt/gitea-mirror/data/gitea-mirror.db
|
Environment=DATABASE_URL=file:/opt/gitea-mirror/data/gitea-mirror.db
|
||||||
Environment=JWT_SECRET=${JWT_SECRET}
|
Environment=JWT_SECRET=${JWT_SECRET}
|
||||||
|
Environment=npm_package_version=${APP_VERSION}
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user