To start Diaspora sever need to run these command:
cd /home/diaspora
./script/sever
My server(Ubuntu 11.10) everyday restart. I need to configure the server(Ubuntu 11.10) to allow diaspora server start up whenever my server is up. How to do it?
I have tried:
Log in as user which run diaspora as, open crontab editor (crontab -e), scroll to the end and enter:
@reboot cd /home/diaspora; ./script/sever
then save, but it still does not start up after my server boot up.
And,if crontab -e cannot do this, is it possible to write a init script to do this? If init script is able to do this, how to write the script to do it?