Hello
I want to solve the old problem.
I have a script that I run manually for additional three multiple instances and all work fine, but need to add it to autorun.
octoprint_startup.sh:
#!/bin/bash
~/oprint/bin/python ~/OctoPrint/run --daemon start --port 5001 --pid /tmp/octoprint1 --basedir ~/.octoprint1
~/oprint/bin/python ~/OctoPrint/run --daemon start --port 5002 --pid /tmp/octoprint2 --basedir ~/.octoprint2
~/oprint/bin/python ~/OctoPrint/run --daemon start --port 5003 --pid /tmp/octoprint3 --basedir ~/.octoprint3
Rights:
-rwxrwxrwx 1 pi pi 487 Jul 3 10:22 octoprint_startup.sh
/etc/rc.local
#!/bin/sh -e
/home/pi/octoprint_startup.sh
exit 0
I'm added >1.txt into octoprint_startup.sh for first instance and here output:
Daemon operation via "octoprint --daemon start|stop|restart" is deprecated, please use "octoprint daemon start|stop|restart" from now on
Starting daemon...
Starting daemon...
Starting daemon...
What should I do to start all instances automatically?
Linux octopi 4.1.19-v7+
OctoPrint Version 1.3.5 (master branch)
Thanks for help!