Skip to content

Instantly share code, notes, and snippets.

@KevinGimbel
Forked from Artemmkin/raddit.service
Created February 19, 2019 10:00
Show Gist options
  • Save KevinGimbel/32b08ab8b6b1d141687ebcdba9de764c to your computer and use it in GitHub Desktop.
Save KevinGimbel/32b08ab8b6b1d141687ebcdba9de764c to your computer and use it in GitHub Desktop.
Raddit unit file
[Unit]
Description=Raddit application
After=network.target
[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu/raddit
ExecStart=/bin/bash -lc '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