roles/puma_install/templates/puma_init.j2 in taperole-2.0.2 vs roles/puma_install/templates/puma_init.j2 in taperole-2.0.3
- old
+ new
@@ -55,10 +55,10 @@
;;
restart)
if puma_is_running ; then
echo "Hot-restarting puma..."
- /bin/su - $USER -c "cd $APP_DIR && RAILS_ENV=$RAILS_ENV bundle exec pumactl restart"
+ /bin/su - $USER -c "cd $APP_DIR && RAILS_ENV=$RAILS_ENV bundle exec pumactl --config-file $PUMA_CONFIG_FILE restart"
echo "Doublechecking the process restart..."
sleep 15
if puma_is_running ; then
echo "done"