596: How do i autostartup reviewboard can someone help me with the script

heman******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 18, 2008
i know we can run the standalone server by ./manage.py runserver 
xxx.xxx.xxx.xxx:aaaa but is there any way that i can write a script so 
that every time i boot my os (linux 5) the server starts up i.e like 
creating a service.
david
#1 david
You can create a crontab with @reboot as the time, or you could write an init script
that lives in /etc/init.d.

Note that running the development server is a very bad way to deploy; it'll be slow
and unstable. If you're planning on using this server in production, I highly
recommend apache+mod_python instead.
  • +NotABug