Skip to content
Snippets Groups Projects
Commit e34570a1 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

change scripts

parent 42d2ecac
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,6 @@ threads 1, 6
app_dir = File.expand_path("../..", __FILE__)
shared_dir = "#{app_dir}/shared"
daemonize
# Default to production
rails_env = ENV['RAILS_ENV'] || "production"
environment rails_env
......
......@@ -3,10 +3,8 @@ Description=Control puma for portalmec
After=nginx.service
[Service]
Type=simple
ExecStart=/portalmec/puma.sh start
ExecStop=/portalmec/puma.sh stop
Restart=always
[Install]
WantedBy=multi-user.target
#!/bin/sh
#!/bin/bash
source /home/.rvm/scripts/rvm
export PUMA_APP_DIR=/portalmec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment