summaryrefslogtreecommitdiff
path: root/ysf-zapper.service
diff options
context:
space:
mode:
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