I need to run postgresql for my Rails app, which I do like this at the terminal:
$ sudo service postgresql start
How do I automate this process so that postgresql just starts automatically for me either whenever my app needs it, whenever I login, or whenever my server starts. I'm on Ubuntu 15.10.
Thanks.
Auto start PostgreSQL on OS startup.
I'm not sure about, which OS you're using. On Ubuntu it should be:
There are several ways to auto start a program per OS. Better consult to your specific OS docs.