Commit ec7984d6 authored by Daniel Baur's avatar Daniel Baur

added nohup to start of ghost

parent 7930c5b1
...@@ -75,7 +75,7 @@ def start(subject=None): ...@@ -75,7 +75,7 @@ def start(subject=None):
pwd = os.getcwd() pwd = os.getcwd()
os.chdir('/opt/ghost') os.chdir('/opt/ghost')
_run('sudo /usr/bin/npm install',error_message='Failed running npm install') _run('sudo /usr/bin/npm install',error_message='Failed running npm install')
_run('sudo /usr/bin/npm start &',error_message='Failed running npm start') _run('sudo nohup /usr/bin/npm start &',error_message='Failed running npm start')
os.chdir(pwd) os.chdir(pwd)
def stop(): 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