mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 18:14:06 +02:00
more unattended work
This commit is contained in:
parent
d97a00065f
commit
b1ba701f7d
1 changed files with 1 additions and 3 deletions
|
|
@ -143,9 +143,7 @@ async fn setup(
|
|||
|
||||
info!("disabling unattended upgrades");
|
||||
if timeout(Duration::from_secs(5), async {
|
||||
let _ = ssh
|
||||
.exec("systemctl disable --now unattended-upgrades")
|
||||
.await;
|
||||
let _ = ssh.exec("systemctl stop unattended-upgrades").await;
|
||||
let _ = ssh.exec("apt-get purge unattended-upgrades").await;
|
||||
})
|
||||
.await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue