scripts/sepolia/systemd/airlock-sweep.service15 lines · 569 bytes
| 1 | # Upgrade Airlock sweeper: one run of the CRE workflow's cron handler (scripts/sepolia/sweep.sh). |
| 2 | # Started by airlock-sweep.timer every 60 s; install.sh fills in the kit directory and the env file path. |
| 3 | [Unit] |
| 4 | Description=Upgrade Airlock sweeper (judge proposals the listener missed) |
| 5 | Documentation=file://@KIT@/README.md |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | EnvironmentFile=@ENV_FILE@ |
| 10 | WorkingDirectory=@KIT@ |
| 11 | ExecStart=@KIT@/sweep.sh |
| 12 | # a CRE execution may take up to 5 minutes; sweep.sh exits at once when nothing waits for a verdict |
| 13 | TimeoutStartSec=6min |
| 14 | Nice=5 |
| 15 | NoNewPrivileges=yes |