Commit 370be08e authored by Daniel Baur's avatar Daniel Baur

nohup this shit to the only right place .... /dev/null

parent ec7984d6
......@@ -75,7 +75,7 @@ def start(subject=None):
pwd = os.getcwd()
os.chdir('/opt/ghost')
_run('sudo /usr/bin/npm install',error_message='Failed running npm install')
_run('sudo nohup /usr/bin/npm start &',error_message='Failed running npm start')
_run('sudo nohup /usr/bin/npm start > /dev/null 2>&1 &',error_message='Failed running npm start')
os.chdir(pwd)
def stop():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment