Last active
December 12, 2023 10:25
-
-
Save yrgoldteeth/eae7e4771605fa9ab06821dd528578e0 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 Rails Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=deployer | |
WorkingDirectory=/path/to/rails-app | |
ExecStart=/usr/local/bin/chruby-exec ruby-2.4.1 -- bundle exec puma -C /path/to/rails-app/shared/config/puma.rb | |
TimeoutSec=15 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great!