paukstelis / octoprint_deploy

Bash script for rapid deployment of multiple octoprint instance on a single machine
MIT License
416 stars 40 forks source link

How to remove a camera instance? #52

Open aslabsalbeh opened 1 year ago

aslabsalbeh commented 1 year ago

I might have added 2 cameras by mistake. When I installed "Camera Settings" plugin I get two cameras to select from "cedrus" and the Logitech C920 (which is the one I'm using). However the plugin keeps defaulting back to cedrus, and the focus/zoom settings get ruined.

Looking at the running services I noticed that I have cam and cam2. Cam one status says "Active: failed" while cam2 is activing and running.

How do I delete cam service? Thanks! Screenshot 2023-01-19 020651

paukstelis commented 1 year ago

It looks like you have effectively stopped and disabled it with the commands you show. If you no longer want the cam_Ender3V2Neo.service, simply delete the file and reboot (or do a systemctl daemon-reload).

aslabsalbeh commented 1 year ago

Thank you. Do you mind guiding me on how to delete the file & where is located.

I'm not an expert in linux & I was trying different commands I found here & there :)

Cheers

paukstelis commented 1 year ago

sudo rm /etc/systemd/system/cam_Ender3V2Neo.service; sudo reboot