diff --git a/userpatches/overlay/etc/systemd/system/rigctld.service b/userpatches/overlay/etc/systemd/system/rigctld.service new file mode 100644 index 0000000..1eb5bc8 --- /dev/null +++ b/userpatches/overlay/etc/systemd/system/rigctld.service @@ -0,0 +1,14 @@ +[Unit] +Description=Hamlib rigctld +Requires=x6100_socat_cat.service +Requires=rigctld_socat.service +Requires=x6100_cat_mux.service +Requires=x6100_app.service + +[Service] +User=root +ExecStart=/usr/bin/rigctld --model=3087 --rig-file=/dev/ttyX6100Cat +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/userpatches/overlay/etc/systemd/system/rigctld_socat.service b/userpatches/overlay/etc/systemd/system/rigctld_socat.service new file mode 100644 index 0000000..99b05cb --- /dev/null +++ b/userpatches/overlay/etc/systemd/system/rigctld_socat.service @@ -0,0 +1,12 @@ +[Unit] +Description=Hamlib rigctld socat +Requires=x6100_socat_cat.service +Requires=x6100_cat_mux.service + +[Service] +User=root +ExecStart=/usr/bin/socat pty,link=/dev/ttyX6100Cat,raw,echo=0 tcp:127.0.0.1:9090 +Restart=on-failure + +[Install] +WantedBy=multi-user.target \ No newline at end of file