To execute a series of commands during linux start up, you can modify /etc/rc.local file for Debian-based distros or /etc/rc.d/boot.local/ for Red Hat-based and add your desired commands. Hope it helps!
Sample /etc/rc.local script in CentOS, running svnserve (daemon mode) at bootup
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.