I had an issue when I booted my TV laptop which is running DebianMint. The torrent program transmission would not automatically start with the torrents running. The torrent files are on an external USB harddrive so I assumed that it wasn’t mounting before the program loaded which was causing the problem. I tried putting a delay in the startup application preferences with something like this.
sleep && transmission -m
But then transmission wouldn’t load at all. I think it was an issue with the startup program killing processes that take to long, this makes sense otherwise rouge processes could make booting up a nightmare. So I created a file called transmissionstartup in /bin and called that in the startup instead of transmission itsself.
#Starts transmission with 30 second delay to allow usb drives to mount