# User-level oneshot: one check -> fetch -> verify -> build -> publish pass. # Install: see docs/SPEC.md > Scheduling. # # 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 # --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