How can I run dashboard as a service, not from terminal

Asked by xelatex

I have successfully configured dashboard, and can login with an existed account. Now I want to run dashboard as a service just like the service scripts in /etc/init.d and run it automatically when the machine boot up, not from a terminal and start it manually.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rafael Durán Castañeda (rafadurancastaneda) said :
#1

Hello,

I suppose you are using django default server. If I'm right, it doesn't make sense to me running it as service since default server is just for development and run it each time you want test something isn't a great problem. Of course you can write your own init.d script, you can found a lot useful information on internet :
ubuntu pages: https://help.ubuntu.com/community/UbuntuBootupHowto
tiny example: http://www.linuxforums.org/forum/newbie/38834-how-get-service-run-startup-ubuntu.html

And you can also check your scripts in init.d. However if you want dashboard for something else more than just testing, you could deploy it using apache or any other, getting the init.d script among many other useful things.

Bye

Can you help with this problem?

Provide an answer of your own, or ask xelatex for more information if necessary.

To post a message you must log in.