Files
taninux/packaging/systemd/tanin-aur-update.service
T
karim 04cadb4e35 packaging: daily automated AUR rebuild for the [tanin] repo
A systemd user timer (daily) drives aur-autoupdate.sh, which rebuilds the
AUR-only deps (eww-git, tiramisu-git, waypaper, calamares, …) in a clean
devtools chroot and refreshes tanin.db. Non -git packages are skipped when
their AUR version is unchanged (RPC check) so heavy ones like calamares
aren't rebuilt for nothing; -git packages rebuild every run.

Unattended: a sudoers drop-in grants passwordless access to the chroot
helpers. Publishing is a TANIN_PUBLISH_CMD hook (no-op until hosting is
wired) — the job refreshes the local repo dir for now.

One-time: aur-autoupdate.sh setup (installs devtools, makes the chroot).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 21:34:18 +02:00

19 lines
603 B
Desktop File

[Unit]
Description=TANINUX [tanin] repo — daily AUR rebuild
Documentation=file:%h/projects/taninux/packaging/aur-autoupdate.sh
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
# Adjust the path if your checkout lives elsewhere.
ExecStart=%h/projects/taninux/packaging/aur-autoupdate.sh run
# Be a good citizen — this is a background rebuild, not interactive work.
Nice=15
IOSchedulingClass=idle
# Uncomment + set once hosting is wired, e.g.:
# Environment=TANIN_PUBLISH_CMD=rsync -a --delete %h/projects/tanin-repo/ host:/srv/tanin/
[Install]
WantedBy=default.target