How to run this on system startup?

How can i run this script on system startup?

run-aria2.sh

#!/bin/sh

tmux new -d -c /home/home/.aria2/ -s aria2rpc 'aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all' ;

The Arch wiki has plenty of information about aria2:

https://wiki.archlinux.org/index.php/Aria2#Using_Aria2_as_a_Daemon

4 Likes

you can add scripts directly in settings autostart only choose the startfile.sh you want to start and add it to menu

don't know if it is right because read only aria is a downloader or something

but scripts starts regulary with this

pla try

2 Likes