Welcome to the Linux Foundation Forum!

automate startnode.sh after bootup

Options

Hi i have a Ethereum node running and mining on a terminal in Linux. i want to create a script that will start up the startnode.sh roughly 2 minutes after startup. my script is in the home/chainskills/private/startnode.sh. i want this to be executed after startup. I have barely any knowledge of Linux. Please help me. i was told to go and create a script in the etc/init.d directory but i don't know how to. i am running this on a Ubuntu 18 on a mini-mac. my node requires root permissions to be run and i have sudo privileges.

Categories

Upcoming Training