Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To start Diaspora sever, always need to cd to the /home/diaspora, then run ./script/sever My server(Ubuntu 11.10) everyday restart. I want to configure the server(Ubuntu 11.10) to allow diaspora server start up whenever my server is up. How to do it?

I use Ubuntu version 11.10 to set up my diaspora server.

share|improve this question

migrated from Feb 2 '12 at 9:09

This question came from our site for professional and enthusiast programmers.

Good solution:

You can write an init script to start each time the server boots up and shut down gracefully when the system goes down.

Ubuntu uses a different init system than most other Linux distributions, so I can't help you with that, but this page might be a good start.

Easy solution:

Log in as user you run diaspora as, open crontab editor (crontab -e), scroll to the end and enter:

@reboot cd /home/diaspora; ./script/sever

Then press Esc and type :wq to save the changes. That should do it.

share|improve this answer
It fail to auto start my diaspora server after my server reboot.. – Bao Chai Feb 2 '12 at 9:16
sorry, it was reboot, not restart. please try that – a sad dude Feb 7 '12 at 17:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.