Link to home
Start Free TrialLog in
Avatar of onestar
onestar

asked on

How to start a script automatically at boot

How do I start a script automatically boot?
I am using redhat 8.

Thanks Onestar
ASKER CERTIFIED SOLUTION
Avatar of ulbador
ulbador

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of technoman
technoman

Hi,

Correct me if i'm wrong, you wanted your created script to be loaded automatically when the system starts?

you can run the script file in /etc/rc.d/rc.local

technoman
(that was what ulbador meant, he missed an /rc.d/ )
onestar:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from ulbador as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
actually since /etc/rc.loal is a symlink to /etc/rc.d/rc.local ulbador wasn't "wrong" in the first place.