Files
infrastructure/roles/bumpbuddy/files/arch-pkg-repo-updater.service
Robin Candau 8009b68623 bumpbuddy: add dependency on network-online target for systemd services
Add dependency on network-online.target for bumpbuddy and arch-pkg-repo-updater systemd service to ensure network is accessible before they start
2026-02-22 23:09:39 +01:00

11 lines
290 B
SYSTEMD

[Unit]
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=bumpbuddy
LimitNOFILE=4096
EnvironmentFile=/etc/conf.d/arch-pkg-repo-updater
ExecStart=/usr/bin/ssh-agent bash -c "ssh-add /home/bumpbuddy/.ssh/id_ed25519; arch-pkg-repo-updater update $TARGET_DIR"