Skip to content

Commit 1bad7ca

Browse files
committed
fix: don't break C66 deploys if Puma doesn't have a PID during restart hook
1 parent 1b3d884 commit 1bad7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cloud66/deploy_hooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ default: &default
3838
destination: /tmp/rebuild_indexes.sh
3939
target: rails
4040
execute: true
41-
- command: cd $STACK_PATH && bundle exec pumactl -P /tmp/web_server.pid restart
41+
- command: cd $STACK_PATH && bundle exec pumactl -P /tmp/web_server.pid restart || true
4242
target: rails
4343
sudo: true
4444
run_on: all_servers

0 commit comments

Comments
 (0)