Need to start python script on boot after nodered

Hello Everyone!
i need to execute a python script that uses opencv camera and sockets to communicate, the idea is the script gets executed after nodered service has started i tried doing so with systemctl and from autostart via dietpi-config but no luck any advice will be helpfull, thanks!

i´ve created files in etc/systemd/system/mypython.service
and enabled it on dietpiconfig and it works! now im facing to achieve the opencv script to run like a service