-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Not able to run zigbee2mqtt as a service #1138
Comments
Actually... the above error was down to the fact I don't have a
I started again Do you know how I can get this to run after a restart? |
Fixed. Had to enable using |
For everyone else who doesn't use virtual env. I got the same issue but with clean installation. I used node as runner instead of npm.
Please make sure your node path is correct by:
|
WORKS !!!! 2 days to read and try everything So, i just replace : ExecStart=/usr/bin/npm start Now, service is launched at boot |
2024.06.19 WORKS !!! So, i change : User=pi >>>>> User=root my file today looks:[Unit] [Service] [Install] AČIŪ !!! |
Followed the Running Zigbee2mqtt in Virtual Environment docs perfectly. Then at step 5: Running as a daemon with systemctl....
I create the file
sudo nano /etc/systemd/system/zigbee2mqtt.service
and addI check start
sudo systemctl start zigbee2mqtt
Upon checking the status, I get this error
The text was updated successfully, but these errors were encountered: