This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Puma Rails Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=deploy | |
WorkingDirectory=/var/apps/upshift/current | |
ExecStart=/usr/local/rvm/bin/rbenv default do bundle exec pumactl -S /var/apps/upshift/shared/tmp/pids/puma.state -F /var/apps/upshift/shared/puma.rb start | |
ExecStop=/usr/local/rvm/bin/rbenv default do bundle exec pumactl -S /var/apps/upshift/shared/tmp/pids/puma.state -F /var/apps/upshift/shared/puma.rb stop |