Created
February 5, 2016 14:28
-
-
Save roccogalluzzo/b7ba7df806c2b1e77e13 to your computer and use it in GitHub Desktop.
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 application server | |
Wants=mysqld.service | |
After=network.target | |
[Service] | |
WorkingDirectory=/var/www/rails-app/current | |
Environment=RAILS_ENV=production | |
PIDFile=/var/www/shared/pids/puma.pid | |
ExecStart=/usr/bin/bundle exec puma -e production -b unix:///var/www/shared/pids/puma.sock --pidfile /var/www/shared/pids/puma.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment