Created
August 7, 2024 15:42
-
-
Save 9M2PJU/6affaf3e3103edb99c6e91501392e5b9 to your computer and use it in GitHub Desktop.
Kill and Start APRSC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#extract related files and folders to users home dir and run this script. with nochroot available environment. config file, logs dir and web dir must be on users home. | |
echo "Killing aprs now!" | |
sleep 1 | |
killall -9 aprsc | |
nohup /usr/local/sbin/aprsc -f /usr/CRAP/piju/aprsc.conf -p /usr/CRAP/piju/aprsc/logs/aprsc.pid -o /usr/CRAP/piju/aprsc/logs/aprsc.log | |
echo "aprsc restarted!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment