summaryrefslogtreecommitdiff
path: root/ysf-zapper.service
diff options
context:
space:
mode:
authorJason McCormick <jason@mfamily.org>2026-11-24 21:45:57 -0500
committerJason McCormick <jason@mfamily.org>2026-11-24 21:45:57 -0500
commit58015561c8969c80732f131c0f0af7b82c50b8b2 (patch)
tree22b937340917ce00f518cea3ebef6733d501f360 /ysf-zapper.service
Add ysf-zapper: drop YSF links requested by invalid callsignsHEADmain
Watches YSFGateway logs on WPSD for WiresX connect requests from stations with a blank/invalid callsign (e.g. "0") and issues UnLink via the remote command port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'ysf-zapper.service')
-rw-r--r--ysf-zapper.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/ysf-zapper.service b/ysf-zapper.service
new file mode 100644
index 0000000..463c430
--- /dev/null
+++ b/ysf-zapper.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=YSF Zapper - drop links requested by stations with no valid callsign
+After=ysfgateway.service
+Wants=ysfgateway.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/python3 -u /opt/ysf-zapper/ysf-zapper.py
+# Environment=YSFZ_DENYLIST=NOCALL,N0CALL
+# Environment=YSFZ_DRY_RUN=1
+Restart=always
+RestartSec=5
+User=mmdvm
+
+[Install]
+WantedBy=multi-user.target