I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS.
I just want to startup apache2 at boot time and run two thin instances.
|
I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS. I just want to startup apache2 at boot time and run two thin instances. |
|||
|
|
|
If your service already has an init script, you can add it to the
If not, depends on which services system you're using, add your scripts to the
|
|||
|
|
|
To add apache2 at boot time:
To start the script manually
Also a really useful command is |
|||
|
|