I finally got my rails server up and running on CentOS with Nginx and unicorn. But I noticed the each time the server reboots or power cycles, I have to run “service nginx start” manually and then go into each site and run “unicorn_rails -c config/unicorn.rb -D” for the site(s) to come up. Is there a way to automate this process when the server boots up?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.