¿ªÔÆÌåÓýDoug,I've long started Direwolf from systemd and the significant difference I see between your Unit file and mine is I start "After=sound.target"? I used to start from screen as you do but for me, systemd's journalctl provides all I need, without additional complexity. journalctl | grep direwolf produces output like this .... Apr 03 06:48:10 deb11 direwolf[502]: [0L] VK2TV-4>APX217,WIDE1-1:=3102.12S/15252.72E` Apr 03 06:59:10 deb11 direwolf[502]: RS0ISS audio level = 43(6/5)?? [NONE]?? ||||||___ Apr 03 06:59:10 deb11 direwolf[502]: [0.2] RS0ISS>0P0PS3,APRSAT:'v&<0x1c>l <0x1c>SI]ARISS-International Space Station=<0x0d> Apr 03 06:59:10 deb11 direwolf[502]: MIC-E, Satellite/Pacsat w/overlay I, Kenwood TM-D710, Special Apr 03 06:59:10 deb11 direwolf[502]: N 00 00.3300, E 000 10.0000, 0 km/h (0 MPH) Apr 03 06:59:10 deb11 direwolf[502]: ARISS-International Space Station Apr 03 06:59:12 deb11 direwolf[502]: Digipeater RS0ISS audio level = 42(6/5)?? [NONE]?? __|||____ Apr 03 06:59:12 deb11 direwolf[502]: [0.3] VK3KAW-10>APRS,RS0ISS*,SGATE,WIDE2-1:=3621.56S/14707.30E`.. Apr 03 06:59:12 deb11 direwolf[502]: Position, Dish Antenna, Generic, (obsolete. Digis should use APNxxx instead) Apr 03 06:59:12 deb11 direwolf[502]: S 36 21.5600, E 147 07.3000 Apr 03 06:59:12 deb11 direwolf[502]: .. This is how I start Direwolf from systemd [Unit] Description=Direwolf service After=sound.target syslog.target StartLimitIntervalSec=0 [Service] Type=simple User=vk2tv ExecStart= /usr/local/bin/direwolf -t 0 -c /home/vk2tv/direwolf.conf Restart = always RestartSec=5 [Install] WantedBy=multi-user.target HTH Ray vk2tv On 6/4/23 19:45, Douglas Pervine, N1OBU
wrote:
I'm trying to run DW from a service on boot.? It starts and then stops.? I suspect it's stopping because the USB soundcard isn't initialized yet.? Wondering how to start the service after the USB soundcard is ready.? Here is my setup: |