changes to pat for new argus config

This commit is contained in:
Craig McDaniel
2026-02-28 13:35:52 -06:00
parent aeacab4b74
commit 8c5871f771
3 changed files with 21 additions and 21 deletions
+13 -13
View File
@@ -1,4 +1,4 @@
# Role: scanner_pat
# Role: argus_pat
# This installs and configures pat winlink client on the scanner.bus computer
#
@@ -6,17 +6,17 @@
file:
path: "{{item}}"
state: directory
owner: busnet
group: busnet
owner: argus
group: argus
mode: u=rwx,g=rwx,o=rx
with_items:
- /opt/busnet/pat
- /opt/busnet/pat/config
- /opt/busnet/pat/forms
- /opt/busnet/pat/logs
- /opt/busnet/pat/mbox
- /opt/busnet/pat/packages
- /opt/busnet/pat/prehooks
- /opt/argus/pat
- /opt/argus/pat/config
- /opt/argus/pat/forms
- /opt/argus/pat/logs
- /opt/argus/pat/mbox
- /opt/argus/pat/packages
- /opt/argus/pat/prehooks
###################################################################################################
# Install pat from .deb release files
@@ -29,9 +29,9 @@
- name: Copy Pat config file
template:
src: "templates/config.json.j2"
dest: "/opt/busnet/pat/config/config.json"
owner: busnet
group: busnet
dest: "/opt/argus/pat/config/config.json"
owner: argus
group: argus
###################################################################################################
# SYSTEMD
@@ -9,7 +9,7 @@
],
"http_addr": "[::]:8080",
"motd": [
"BusNet Pat Winlink Client"
"Argus Pat Winlink Client"
],
"connect_aliases": {
"telnet": "telnet://{mycall}:CMSTelnet@cms.winlink.org:8772/wl2k"
@@ -22,10 +22,10 @@
"rig": ""
},
"ax25_linux": {
"port": "ax0"
"port": "digirig"
},
"agwpe": {
"addr": "scanner.busnet:8005",
"addr": "localhost:8005",
"radio_port": 0
},
"serial-tnc": {
@@ -77,4 +77,4 @@
},
"schedule": {},
"version_reporting_disabled": false
}
}
@@ -1,12 +1,12 @@
[Unit]
Description=BusNet Pat Winlink Client
Description=Argus Pat Winlink Client
Documentation=https://github.com/la5nta/pat/wiki
After=ax25.service network.target
[Service]
User=busnet
Group=busnet
ExecStart=/usr/bin/pat --config /opt/busnet/pat/config/config.json --event-log /opt/busnet/pat/logs/eventlog.json --log /opt/busnet/pat/logs/pat.log --forms /opt/busnet/pat/forms --mbox /opt/busnet/pat/mbox --prehooks /opt/busnet/pat/prehooks http
User=argus
Group=argus
ExecStart=/usr/bin/pat --config /opt/argus/pat/config/config.json --event-log /opt/argus/pat/logs/eventlog.json --log /opt/argus/pat/logs/pat.log --forms /opt/argus/pat/forms --mbox /opt/argus/pat/mbox --prehooks /opt/argus/pat/prehooks http
Restart=on-failure
[Install]