Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is Linux Init Script?

init linux Script
0
Posted

What is Linux Init Script?

0

A Linux Init Script is a small shell script that is run at system startup and shutdown on a machine running Linux. Init Scripts are used in the SNAP project primarily to start the Calculation and Database servers. As of this writing, these scripts are not included in the distribution but can be downloaded here[snapcalc] and here[snapdb]. These scripts may also work on other Unix-like systems but have only been tested to work under Redhat Linux. These scripts will require some slight modification before use to set: • The user the server will run as • the SNAP installation directory • The path to your Java executable The proper location of init scripts on your system is very distribution dependent. In general they are in /etc/rc.d/ or some sub directory thereof. For Redhat they should go in /etc/rc.d/init.d/ and then be setup with the Services Configuration tool. The documentation for the serviceconf for Redhat Linux 7.3 can be found here. For Redhat Linux 8.0, here.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123