bread/packaging/README.md
Breadway f9a8c4f915
All checks were successful
dev release / build (push) Successful in 1m17s
Drop pacman packaging, bakery-only distribution
bakery already fully covers what the PKGBUILD provided (binary, systemd
--user service where applicable, dependency declarations) except a LICENSE
copy, which bakery.toml's new license_file field now closes. Removes
packaging/arch/ and .forgejo/workflows/package.yml; adds the LICENSE
artifact to each release/dev-release/beta-release workflow's prepare
step. Not pacman-installed inside BOS today (BOS already consumes these
apps exclusively via build-local.sh's skel-staging), so this only removes
the option to `pacman -S` outside of BOS/bakery.
2026-07-23 10:25:12 +08:00

39 lines
1 KiB
Markdown

Packaging
=========
This directory contains distribution packaging for Bread.
```
packaging/
└── systemd/
└── breadd.service ← systemd user service unit
```
Prebuilt binaries are distributed exclusively via `bakery` (see the main
README) — there is no Arch/pacman package for `bread` anymore. `bakery`
installs the systemd user service unit itself, matching the `packaging/systemd/breadd.service`
file here.
## systemd user service
The service unit starts `breadd` as a user service after the graphical session is available.
```bash
# Install and enable manually (if not using the PKGBUILD)
mkdir -p ~/.config/systemd/user
cp systemd/breadd.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now breadd
# Check status
systemctl --user status breadd
journalctl --user -u breadd -f
```
The service sets `RUST_LOG=info` by default. To increase verbosity, override it in a drop-in:
```ini
# ~/.config/systemd/user/breadd.service.d/debug.conf
[Service]
Environment=RUST_LOG=debug
```