This commit is contained in:
Craig McDaniel
2025-10-08 15:59:13 -05:00
parent b46f86f4e0
commit 268527992f

View File

@@ -0,0 +1,24 @@
# This file is managed by BusNet Ansible.
#
# This service starts rigctld when the Yeasu FT-991A radio USB is connected to this computer.
# This uses port 4000
#
# There is a corresponding udev rule that triggers this service automatically when it detects that
# the radio's USB devices are connected. There is also a udev rule that shuts it down when the USB
# is disconnected.
#
[Unit]
Description=rigctld for Yaesu FT-991a
[Service]
ExecStartPre=/bin/sleep 4
# It uses device symlink /dev/radio/ft991a-00 which is the radio's CAT USB interface
ExecStart=/usr/local/bin/rigctld -m 1035 -r /dev/radio/ft991a-00 -t 4000 -s 38400 --set-conf=data_bits=8, stop_bits=1, serial_parity=None, serial_handshake=None, dtr_state=OFF, rts_state=ON
Restart=on-failure
RestartSec=5
User=busnet
Group=busnet
[Install]
WantedBy=multi-user.target