examples/service/aicr-watch.service (424 bytes)
1 # systemd user service: re-render on every local edit, pull on upstream changes. 2 # Install: cp aicr-watch.service ~/.config/systemd/user/ && systemctl --user enable --now aicr-watch 3 [Unit] 4 Description=aicr watch: keep AI agent configs in sync 5 6 [Service] 7 ExecStart=%h/.local/bin/aicr watch --source %h/ai-config --remote-every 20 --exec "sh commit-and-push.sh" 8 Restart=always 9 RestartSec=10 10 11 [Install] 12 WantedBy=default.target