Revisions
-
arteezy revised this gist
Dec 17, 2019 . No changes.There are no files selected for viewing
-
arteezy created this gist
Sep 1, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ [Unit] Description=Puma Rails Server After=network.target [Service] Type=simple User=deploy WorkingDirectory=/home/deploy/app/current ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop TimeoutSec=15 Restart=always [Install] WantedBy=multi-user.target