breadbox: fix packaged systemd unit ExecStart path

The PKGBUILD installs breadbox-sync to /usr/bin, but the packaged unit
pointed at %h/.cargo/bin/breadbox-sync — a path that only exists for
cargo installs. A pacman install shipped a unit that could never find
its binary. bakery-based installs already patch ExecStart at install
time, so this only affects the pacman channel, but it needed fixing
there.
This commit is contained in:
Breadway 2026-07-17 03:18:38 +08:00
parent 006caf0fd5
commit a6bba2c362

View file

@ -5,7 +5,7 @@ After=network.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=%h/.cargo/bin/breadbox-sync ExecStart=/usr/bin/breadbox-sync
StandardOutput=journal StandardOutput=journal
StandardError=journal StandardError=journal
# Allow up to 2 minutes for slow icon downloads # Allow up to 2 minutes for slow icon downloads