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

pi user for service #76

Closed
xanderphillips opened this issue Dec 22, 2024 · 2 comments
Closed

pi user for service #76

xanderphillips opened this issue Dec 22, 2024 · 2 comments

Comments

@xanderphillips
Copy link

Current versions of raspian do not have pi as a user so service fails to start:

waterfurnace_aurora/contrib/aurora_mqtt_bridge.service

[Unit]
Description=Aurora MQTT Bridge

[Service]
User=pi

@0n3man
Copy link

0n3man commented Dec 22, 2024

You can just change the username to the user you set up on your system prior to putting the service file in place. Or after you've put it in place, as there is no requirement that this code runs as user pi.

@xanderphillips
Copy link
Author

Yes, I did update the user on mine but wanted to call it out, as it's not currently documented to update the User to an account that has rights to run the service. Many people may not know to do it and fail to see why their service isn't starting.

Repository owner deleted a comment Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants