Open tmblue opened 2 years ago
Just wondering where in octoprint/octoklipper those commands are stored, so I can change them?
This is an old issue but I am replying in the hopes it may help someone else.
To make OctoKlipper plugin restart klipper using a different service name:
Find the file similar to this: /home/YourHome/OctoPrint2/venv/lib/python3.10/site-packages/octoprint_klipper/__init__.py
Search for and edit this :'command': 'sudo service klipper restart',
With Kiauh supporting multiple Klipper and Octoprint installations, it would be great if the plugin could also support them.
Before submitting your issue please make sure to provide the following information
About your environment:
Not sure a log file will be helpful here. The octoprint restart klipper in my case has the wrong command, first it's using service, vs systemctl and second it's calling klipper, where my service is klipper1 and klipper2.
Just wondering where in octoprint/octoklipper those commands are stored, so I can change them?
Trying to weed out a problem that is making me restart/reboot to get klipper to talk to my printer after a weird disconnect, and this is just the starting path..