Skip to content

Commit

Permalink
fix: do not use sudo for --user mode systemd services (#131)
Browse files Browse the repository at this point in the history
This fixes the error with enable-updates/disable-updates like:
  Failed to connect to bus: No medium found
  • Loading branch information
bsherman authored Oct 4, 2023
1 parent 0823567 commit d06e7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/ublue-os-just/10-update.just
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ update:
# Disable all auto-update timers
disable-updates:
sudo systemctl disable --now flatpak-system-update.timer rpm-ostreed-automatic.timer
sudo systemctl disable --now --user flatpak-user-update.timer
systemctl disable --now --user flatpak-user-update.timer

# Enable all auto-update timers
enable-updates:
sudo systemctl enable --now flatpak-system-update.timer rpm-ostreed-automatic.timer
sudo systemctl enable --now --user flatpak-user-update.timer
systemctl enable --now --user flatpak-user-update.timer

0 comments on commit d06e7b5

Please sign in to comment.