Initial commit: TSS Bot Web Frontend (React/Vite + production server)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user