Open pocketcolin opened 3 years ago
I have created a Systemd unit file for that. I am off from my computer until Sunday. I will send it Monday.
Here is the service unit file I am using on Rasbpian (RP1)
[Unit]
Description = airplay2 music receiver
After = network.target
Requires=pulseaudio.socket
[Service]
WorkingDirectory=/home/pi/goplay2
ExecStart=+/home/pi/goplay2/goplay2 -n hifi
User=pi
Group=pi
[Install]
WantedBy = multi-user.target
copy the file in this directory :
/lib/systemd/user/goplay2.service
and then activate the service :
systemctl --user enable goplay2
GoPlay2 is working great for me, but I can't for the life of me get it to start on boot up. Is there a setting for that or a service I can use?