rc.local is a bit old-hat nowadays with systemd being a thing. Looking at my Moode though systemd is configured with the rc-local unit enabled out-of-the-box to run some stuff.
I don't really see why you're having to create a shell script just to run a python script but I suppose we can see the process if you post a bit more about what you're doing.
Post whatever you've added to the /etc/rc.local file, also post the contents of the shell script you're running and the first few lines of the monitor.py script
I don't really see why you're having to create a shell script just to run a python script but I suppose we can see the process if you post a bit more about what you're doing.
Post whatever you've added to the /etc/rc.local file, also post the contents of the shell script you're running and the first few lines of the monitor.py script