mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 10:04:07 +02:00
disable unattended upgrades
This commit is contained in:
parent
af60d535e2
commit
6020b05e5c
1 changed files with 4 additions and 0 deletions
|
|
@ -141,6 +141,10 @@ async fn setup(
|
|||
ssh.exec("chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile")
|
||||
.await?;
|
||||
|
||||
info!("disabling unattended upgrades");
|
||||
ssh.exec("systemctl disable --now unattended-upgrades")
|
||||
.await?;
|
||||
|
||||
info!("setting up prometheus");
|
||||
ssh.exec("wget https://github.com/icewind1991/palantir/raw/main/palantir.service -O /etc/systemd/system/palantir.service").await?;
|
||||
ssh.exec("wget https://github.com/icewind1991/palantir/releases/download/v1.1.0/palantir-x86_64-unknown-linux-musl -O /usr/local/bin/palantir").await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue