Usage
Command-line¶
Command-line usage is available by running aprscot -h.
usage: aprscot [-h] [-c CONFIG_FILE] [-p PREF_PACKAGE]
options:
-h, --help show this help message and exit
-c CONFIG_FILE, --CONFIG_FILE CONFIG_FILE
Optional configuration file. Default: config.ini
-p PREF_PACKAGE, --PREF_PACKAGE PREF_PACKAGE
Optional connection preferences package zip file (aka data package).
Run as a service / Run forever¶
- Add the text contents below a file named
/etc/systemd/system/aprscot.service
You can usenanoorvieditors:sudo nano /etc/systemd/system/aprscot.service - Reload systemctl:
sudo systemctl daemon-reload - Enable APRSCOT:
sudo systemctl enable aprscot - Start APRSCOT:
sudo systemctl start aprscot
aprscot.service Content¶
[Unit]
Description=APRSCOT - Display APRS in TAK
Documentation=https://aprscot.rtfd.io
Wants=network.target
After=network.target
[Service]
RuntimeDirectoryMode=0755
ExecStart=/usr/local/bin/aprscot -c /etc/aprscot.ini
SyslogIdentifier=aprscot
Type=simple
Restart=always
RestartSec=30
RestartPreventExitStatus=64
Nice=-5
[Install]
WantedBy=default.target
Pay special attention to the
ExecStartline above. You'll need to provide the full local filesystem path to both your aprscot executable & aprscot configuration files.