Hey all,
OP25 is an awesome product. I'm working to change my feeds over to this from a BCD996P2 because it's so much better on our system. OP25 and Liquidsoap run beautifully from the terminal but fail miserably as a service.
I have an RPI 3B+, RTLSDR, and am running Raspbian Stretch. Pulseaudio has been installed, I have local audio and am streaming to BCFY....until I try to run them as services. Then I receive this error:
My op25-rx service:
And my op25-liq
I've been searching around for how to tackle the dbus error for pulseaudio, but I've had no success. I tried uninstalling, rebooting, and reinstalling with no success. I've tried switching back to ALSA and that's a couple of hours down the drain as well. I'd really like to have local audio.
Suggestions?
OP25 is an awesome product. I'm working to change my feeds over to this from a BCD996P2 because it's so much better on our system. OP25 and Liquidsoap run beautifully from the terminal but fail miserably as a service.
I have an RPI 3B+, RTLSDR, and am running Raspbian Stretch. Pulseaudio has been installed, I have local audio and am streaming to BCFY....until I try to run them as services. Then I receive this error:
Code:
Oct 11 07:39:19 p25_south pulseaudio[8200]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Oct 11 07:39:19 p25_south pulseaudio[8200]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
My op25-rx service:
Code:
[Unit]
Description=op25-rx
After=syslog.target network.target nss-lookup.target network-online.target
Requires=network-online.target
[Service]
User=1000
Group=1000
WorkingDirectory=/home/pi/op25/op25/gr-op25_repeater/apps
ExecStart=/bin/bash -- op25.sh
RestartSec=5
Restart=on-failure
[Install]
WantedBy=multi-user.target
And my op25-liq
Code:
[Unit]
Description=op25-liq
After=syslog.target network.target nss-lookup.target network-online.target
Requires=network-online.target
[Service]
User=1000
Group=1000
WorkingDirectory=/home/pi/op25/op25/gr-op25_repeater/apps
ExecStart=/usr/bin/liquidsoap op25.liq
RestartSec=5
Restart=on-failure
[Install]
WantedBy=multi-user.target
I've been searching around for how to tackle the dbus error for pulseaudio, but I've had no success. I tried uninstalling, rebooting, and reinstalling with no success. I've tried switching back to ALSA and that's a couple of hours down the drain as well. I'd really like to have local audio.
Suggestions?