Created
August 9, 2018 00:15
-
-
Save breim/8c766c5d2b82615fff848e8254b377f2 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=Btc Price | |
After=network.target | |
[Service] | |
Type=service | |
User=ubuntu | |
WorkingDirectory=/home/ubuntu/btc_price_example | |
ExecStart=/bin/bash -lc 'RAILS_ENV=production bundle exec rake btc:api' | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment