Skip to content

Instantly share code, notes, and snippets.

@jrtipton
Created March 7, 2021 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrtipton/4a951ef0994ff873ec440e8abb27cd89 to your computer and use it in GitHub Desktop.
Save jrtipton/4a951ef0994ff873ec440e8abb27cd89 to your computer and use it in GitHub Desktop.
a2dbp-agent service config
[Unit]
Description=A2DP Playback
After=bluealsa.service syslog.service
Requires=bluealsa.service
[Service]
ExecStartPre=/bin/sleep 3
ExecStart=/usr/bin/bluealsa-aplay --profile-a2dp 00:00:00:00:00:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=A2DP-Playback
Restart=always
RestartSec=3
User=pi
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment