Synology Startup Script

Hey everybody,

So I have a Synology NAS that I do daily backups to. I also have a UPS that is connected via USB to my server. My server is constantly checking for the battery level of the UPS and it shuts down at 15%. I wrote a few python scripts that constantly check that same power level, and then tell the Synology NAS to shut down if the power level goes below 30%. I can start the script on the Synology NAS manually, But I'd like it to start automatically, and I was curious if anybody knew how to do that for these NASs. Typically I'd just throw it in the /etc/init.d/ directory and be sorted out, but I can't find that on my NAS. Any help is appreciated! Thanks!