Take the 2-minute tour ×  As of Ubuntu 12.04, what is the
proper/clean way to make the system execute a script upon boot?
(not upon user login) e.g. running a daemon.  share|improve this
question add comment  2 Answers  up vote 1 down vote accepted
Actually there is a way to execute user specific commands during
boot up time. The commands or scripts that we want to execute
should be added to the script /etc/rc.local  The script
/etc/rc.local will be similar to a shell script. Make sure it's
exit status is 0, add the following line to that script "exit
0".  This /etc/rc.local script is executed at the end of each
multiuser runlevel.  From here  Also you can see examples in
/etc/init.d/  share|improve this answer add comment  You could
also try using Upstart which I find to be useful.  share|improve
this answer add comment  Your Answer