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:

#!/bin/sh
# Declare any necessary environment variables
ENV_VAR=FOO
# Optionally export variables to the process if you need them
export ENV_VAR
# Start the process.  This is one process, so we are permitted
# 4 additional PIDs per the Basic package limits
svnserve -d -r /home/user/REPO –listen-port=40010
# Start-up memcached for Rails
memcached -d -p 40011 -m 64

Start-up Script Support Added