mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Added to cargo build
This commit is contained in:
@@ -42,7 +42,7 @@ function update_script() {
|
|||||||
cd /opt/rustypaste
|
cd /opt/rustypaste
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "/opt/rustypaste"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "/opt/rustypaste"
|
||||||
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
|
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
|
||||||
cargo build --locked --release
|
$STD cargo build --locked --release
|
||||||
msg_ok "Updated rustypaste to latest"
|
msg_ok "Updated rustypaste to latest"
|
||||||
|
|
||||||
msg_info "Starting rustypaste"
|
msg_info "Starting rustypaste"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "
|
|||||||
msg_info "Setting up rustypaste"
|
msg_info "Setting up rustypaste"
|
||||||
cd /opt/rustypaste
|
cd /opt/rustypaste
|
||||||
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
|
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
|
||||||
cargo build --locked --release
|
$STD cargo build --locked --release
|
||||||
msg_ok "Set up rustypaste"
|
msg_ok "Set up rustypaste"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user