There are plist files in /Library/LaunchDaemons/ and /System/Library/LaunchDaemons/ which you can create which should work.
There’s also a launchctl command
launchctl load /System/Library/LaunchDaemons/com.imalc.insomnia.plist
this is a clue how to get an app to boot at startup
Robin Edgar
Organisational Structures | Technology and Science | Military, IT and Lifestyle consultancy | Social, Broadcast & Cross Media | Flying aircraft
robin@edgarbv.com
https://www.edgarbv.com