Skip to content

Commit

Permalink
Remove FNM dependency for puma service
Browse files Browse the repository at this point in the history
Now it's disabled through environment variable.
  • Loading branch information
Senen committed Feb 1, 2024
1 parent e26afe6 commit 4076398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/puma/templates/puma.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ After=network.target
[Service]
Type=simple
WorkingDirectory={{ release_dir }}
ExecStart=/bin/bash -lc '{{ fnm_command }} && {{ rvm_command }} && fnm exec bundle exec puma -C {{ puma_config_file }} -e {{ env }}'
ExecStart=/bin/bash -lc '{{ rvm_command }} && bundle exec puma -C {{ puma_config_file }} -e {{ env }}'
ExecReload=/bin/kill -USR1 $MAINPID
StandardOutput=append:{{ puma_access_log }}
StandardError=append:{{ puma_error_log }}
Environment=EXECJS_RUNTIME=Disabled
Restart=always
RestartSec=1
SyslogIdentifier=puma
Expand Down

0 comments on commit 4076398

Please sign in to comment.