2026-09-20 07:45:26 +00:00
|
|
|
# User-level oneshot: one check -> fetch -> verify -> build -> publish pass.
|
|
|
|
|
# Install: see docs/SPEC.md > Scheduling.
|
|
|
|
|
#
|
2026-09-20 08:03:24 +00:00
|
|
|
# No WorkingDirectory: config, state and work dirs come from the XDG paths
|
|
|
|
|
# in src/paths.rs (see docs/SPEC.md > Paths), not the cwd.
|
|
|
|
|
# The binary is the release build in the main checkout (`cargo build
|
2026-09-20 07:45:26 +00:00
|
|
|
# --release`), so a rebuild is what picks up code changes.
|
|
|
|
|
[Unit]
|
|
|
|
|
Description=pkgwatch: check tracked packages for new upstream releases
|
|
|
|
|
OnFailure=pkgwatch-failure.service
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=oneshot
|
|
|
|
|
ExecStart=%h/dev/pkgwatch/target/release/pkgwatch
|
|
|
|
|
# Builds (makepkg, large Go/Rust binaries) can legitimately take a while.
|
|
|
|
|
TimeoutStartSec=30min
|