What is the problem?
I have an old Lenovo T450s notebook that I decided to use as OctoPrint host to control my old Cocoon Create Touch. I am running MX Linux (Debian based) 19.4 64 bits. Everything works fine as per PI instructions, with the only change being my own username "ferdinando" instead of "pi". I can launch OctoPrint manually in the virtual environment with "octoprint serve" and connect to it using port 5000, all good.
Issues start when I follow instructions to make it a service with automatic startup.
I downloaded the service script, moved it into the described folder, modified ExecStart to the correct path (replacing user PI with ferdinando).
sudo systemctl enable octoprint.service executes correctly and returns no errors. However, when I try `sudo service octoprint start' I get error "octoprint: unrecognized service".
Additional information about your setup
OctoPrint 1.5.2 on MX Linux 19.4 AMD64