Files
infrastructure/roles/bumpbuddy/files/arch-pkg-repo-updater.service
Robin Candau 2bb3dd0702 bumpbuddy: Raise LimitNOFILE for the arch-pkg-repo-updater service
`arch-pkg-repo-updater` seems to hit `ulimit`:

```
haskell-persistent-mysql: could not open '/opt/bumpbuddy/source_repos/haskell-persistent-mysql/.git/refs/tags/2.13.1.5-158':
Too many open files; class=Os (2)
```

Doubling the current `LimitNOFILE` as an attempt to give it a bit more headroom.
2026-11-16 11:06:36 +01:00

11 lines
290 B
SYSTEMD

[Unit]
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=bumpbuddy
LimitNOFILE=8192
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"