mirror of
https://github.com/bitnami/containers.git
synced 2026-03-18 15:27:52 +08:00
run.sh: stop unused pm2 daemon leftover from nami initialize
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user