All Basic and higher packages now have start-up and shutdown script support activated through scripts in /etc/rc3.d
and /etc/rc6.d
respectively. Tiered thresholds are set with the number of PIDs that may start-up on your account in addition to the total time spent starting up all processes on an account. Basic includes a 5 process limit and 15 second execution time. Advanced includes 10 processes with 30 seconds, and Super tentatively includes 15 processes with a 60 second execution timeout.
Toss your start-up scripts in /etc/rc3.d
and they will be executed in sequential order. Optionally, if you would like any commands to be executed during shutdown, create the scripts in /etc/rc6.d
. Scripts should be executable from the command-line, i.e. /etc/rc3.d/myscript.sh
should be capable of being run directly. This requires execute privileges on the script. chmod 755 /etc/rc3.d/myscript.sh
will make the script executable from the command-line. An example script is provided below: