Ask Your Question
0

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

asked 2011-06-17 16:40:58 -0600

yzt356 gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-06-19 11:51:03 -0600

rafadurancastaneda gravatar image

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 (https://help.ubuntu.com/community/Ubu...) tiny example: http://www.linuxforums.org/forum/newbie/38834-how-get-service-run-startup-ubuntu.html (http://www.linuxforums.org/forum/newb...)

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-17 16:40:58 -0600

Seen: 54 times

Last updated: Jun 19 '11