Welcome to the new Linux Foundation Forum!

automate startnode.sh after bootup

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.

Sign In or Register to comment.