Skip to content

Instantly share code, notes, and snippets.

@davefp
Forked from Artemmkin/raddit.service
Last active May 19, 2018 23:40
Show Gist options
  • Save davefp/d37f6a6998e7318f95cc5d64abf4e94c to your computer and use it in GitHub Desktop.
Save davefp/d37f6a6998e7318f95cc5d64abf4e94c to your computer and use it in GitHub Desktop.
Raddit unit file
[Unit]
Description=Raddit application
After=network.target
[Service]
Type=simple
User=raddit-user
WorkingDirectory=/home/raddit-user/raddit
ExecStart=/home/raddit-user/.rbenv/bin/rbenv exec bundle exec puma
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