Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to run GoPlay on RPi at boot up? #24

Open
pocketcolin opened this issue Aug 19, 2021 · 2 comments
Open

Best way to run GoPlay on RPi at boot up? #24

pocketcolin opened this issue Aug 19, 2021 · 2 comments

Comments

@pocketcolin
Copy link

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?

@AlbanSeurat
Copy link
Member

I have created a Systemd unit file for that. I am off from my computer until Sunday. I will send it Monday.

@AlbanSeurat
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants