Source mirror · commit 369512f · 2026-10-26 · MIT · canonical repo: gitlab.com/jiapunk/upgrade-airlock
git clone https://upgrade-airlock.pages.dev/source/upgrade-airlock.git
upgrade-airlock / scripts / sepolia / systemd / airlock-listener.service
scripts/sepolia/systemd/airlock-listener.service22 lines · 804 bytes
1# Upgrade Airlock listener: the CRE workflow's log trigger in listen mode (scripts/sepolia/airlock.sh).
2# A systemd user unit; install.sh fills in the kit directory and the env file path and installs it for the current user only.
3[Unit]
4Description=Upgrade Airlock listener (CRE log trigger: judge every AirlockAdmin proposal)
5Documentation=file://@KIT@/README.md
6# keep restarting however often it fails (a network outage can last longer than any burst limit)
7StartLimitIntervalSec=0
8
9[Service]
10Type=simple
11EnvironmentFile=@ENV_FILE@
12WorkingDirectory=@KIT@
13ExecStart=@KIT@/airlock.sh
14Restart=always
15RestartSec=5
16# airlock.sh stops the simulator on SIGTERM; the whole process group goes after TimeoutStopSec
17KillMode=control-group
18TimeoutStopSec=20
19NoNewPrivileges=yes
20
21[Install]
22WantedBy=default.target