what are initScripts

I just heard this term init script related to deployment process on linux machine.
What exactly does this mean ?

Rohit BajajAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
up until red hat 7, all running processes came from init
in terms of scripts, init scripts run at startup and shutdown to start and stop services
if you look in /etc/init.d (might vary slightly depending on the distribution used) you will find them there in various directories for the different run levels
the number at the end of the script helps with the order they are executed; they are done incrementally so anything ending in 99 is done last

here is more information on it


newer distributions (such as red hat 7) no longer use init but use systemd

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rohit BajajAuthor Commented:
So as what i understand is that init scripts are placed inside init.d directory
and basically if i want to have a program running even after the machine restarts i need to handle it in a separate init script.

Its like if i have deployed a web application on the machine. It will stop if the system reboots.
so init script will come into play if i have written for it and start it again.

Please correct my understanding
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.