Open ublink opened 8 years ago
I had the same problem. Thanks for your comment. Please note there is a typo at the end of the updated sudo ln -s... line.
The correct one looks like this:
sudo ln -s /home/pi/waterrower-ble/waterrower.service /etc/systemd/system/waterrower.service
Yep, corrected. Must have been a late night. :)
This was on a Raspberry Pi 3 b.
The service wouldn't start due to inability to locate directory changed: sudo ln -s waterrower.service /etc/systemd/services/waterrower.service to: sudo ln -s /home/pi/waterrower-ble/waterrower.service /etc/systemd/system/waterrower.service
also changed the service from: ExecStart=/usr/local/bin/node main.js usb to: ExecStart=/usr/bin/node main.js usb