run.sh: stop unused `pm2` daemon leftover from `nami initialize`
This commit is contained in:
parent
e830e05842
commit
76c9c31fdb
|
|
@ -6,6 +6,9 @@ USER=ghost
|
|||
|
||||
export NODE_ENV=production
|
||||
|
||||
# drupal initialization leaves a running pm2 instance
|
||||
gosu ${USER} /opt/bitnami/ghost/node_modules/pm2/bin/pm2 kill
|
||||
|
||||
info "Starting ghost..."
|
||||
exec gosu ${USER} /opt/bitnami/ghost/node_modules/pm2/bin/pm2 start --merge-logs --no-daemon \
|
||||
-p /opt/bitnami/ghost/tmp/pids/ghost.pid \
|
||||
|
|
|
|||
Loading…
Reference in New Issue