#! / bin / bash RAILS_ENV = “production” cd / home / openproject /
openproject su -c openproject “bundle exec rails server”
Sorry, responded too quickly. What follows #! should be the path to the
interpreter for the script. So have you really jumbled it all onto one
line with lots of extra spaces in the path names, or is that just
something that happened when you copied & pasted??? Anyway, should
probably be something like:
#! /bin/bash
RAILS_ENV =…
With the command being some that you’ve tested and established actually
works—because what you’ve posted in your email certainly wont’ (spaces
in the path to your project).
#! / bin / bash RAILS_ENV = “production” cd / home / openproject /
openproject su -c openproject “bundle exec rails server”
Sorry, responded too quickly. What follows #! should be the path to the
interpreter for the script. So have you really jumbled it all onto one
line with lots of extra spaces in the path names, or is that just
something that happened when you copied & pasted??? Anyway, should
probably be something like:
#! /bin/bash
RAILS_ENV =…
With the command being some that you’ve tested and established actually
works—because what you’ve posted in your email certainly wont’ (spaces
in the path to your project).
It was just what I posted it came out well, the script is all together
with no spaces.