Run Script at startup
- fabiobiscia
- Posts: 24
- Joined: 08 Jan 2021, 08:28
Run Script at startup
Hi everyone. I would like to create a script that starts automatically on startup, possibly with root privileges. I have already tried some techniques tested with the main linux distros but none worked, could you help me?
Re: Run Script at startup
Hi,
You can try to put the script under /etc/init.d/, and then use the touch command to create a file with the same name as the script under /etc/sc.d/.
Have a good day!
You can try to put the script under /etc/init.d/, and then use the touch command to create a file with the same name as the script under /etc/sc.d/.
Have a good day!
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
- fabiobiscia
- Posts: 24
- Joined: 08 Jan 2021, 08:28
Re: Run Script at startup
Thanks for the reply. in rc.d it is sufficient to create an empty file with the same name?
- mil_house23
- Posts: 12
- Joined: 25 Mar 2021, 01:47
Re: Run Script at startup
hello, have the same problem, can you resolve?
i try the the solution but didnt work , i need to run java problem and keep running
Can you helpme please...
Thanks
Nicolas
i try the the solution but didnt work , i need to run java problem and keep running
Can you helpme please...
Thanks
Nicolas