BOS opts in to bakery's system prefix so desktop apps live on @ and ride snapper/grub-btrfs snapshots. The builder home stays ~/.local; build-local.sh copies bins, share/data, and user units onto the image. Per-user installed.json and the index cache stay in skel. Recovery is still grub-btrfs, not snapper rollback.
21 lines
530 B
Desktop File
21 lines
530 B
Desktop File
[Unit]
|
|
Description=Bread Runtime Daemon
|
|
|
|
[Service]
|
|
Type=simple
|
|
# System-prefix bakery install — same path for every account.
|
|
ExecStart=/usr/local/bin/breadd
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
UMask=0077
|
|
RuntimeDirectory=bread
|
|
RuntimeDirectoryMode=0700
|
|
# Keep /run/user/<uid>/bread across restarts so the shared theme.css that
|
|
# bread-theme writes there (and the daemon socket) survive a `restart breadd`.
|
|
RuntimeDirectoryPreserve=yes
|
|
KillSignal=SIGTERM
|
|
TimeoutStopSec=5
|
|
Environment=RUST_LOG=info
|
|
|
|
[Install]
|
|
WantedBy=default.target
|