[Unit] Description=tssbot-web GitHub deploy webhook After=network-online.target Wants=network-online.target StartLimitIntervalSec=100 StartLimitBurst=10 [Service] Type=simple WorkingDirectory=%h/tssbot.web ExecStart=/usr/bin/node webhook.cjs # Always (not on-failure): the process deliberately exits 0 every 24h so # systemd relaunches it with a clean listener. Restart=always RestartSec=200ms RestartSteps=10 RestartMaxDelaySec=10s TimeoutStopSec=10 [Install] WantedBy=default.target