0
I’m trying to start my application in boot, but I’m not getting...the script in upstart calls another script, I’m not able to even know if the 2nd script is being called, follow the 2 scripts:
1st Script
description "Start OpenProject"
start on startup
script
exec su openproject -c "/home/openproject/Scripts/start-openproject.sh"
end script
2nd Script
#!/bin/bash -x
rm -f ~/server.log
source ~/.nodeenv/bin/activate >> ~/server.log 2>&1
cd /home/openproject/openproject
bundle exec rails server >> ~/server.log 2>&1
The file server.log is not even being created, thanks for the help.