Implement install and update system for the bot

- LINUX OR WINDOW WSL ONLY
This commit is contained in:
Logan Cusano
2023-05-27 17:00:57 -04:00
parent 79fe542143
commit ba927bae8c
5 changed files with 88 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# This script should be another service on the machine to watch the main script for failures and restart it if there are any
( tail -f -n0 /opt/sdr-scanner/scanner_log & ) | grep -q ": cb transfer status: 1, canceling..."
systemctl restart radioNode.service
echo "Restarted SDR Scanner service"