Skip to content

Instantly share code, notes, and snippets.

@obengwilliam
Forked from Artemmkin/raddit.service
Last active September 25, 2019 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obengwilliam/0ba05e5ea6ff8e139e1350f15631a329 to your computer and use it in GitHub Desktop.
Save obengwilliam/0ba05e5ea6ff8e139e1350f15631a329 to your computer and use it in GitHub Desktop.
Raddit unit file
[Unit]
Description=Raddit application
After=network.target
[Service]
Type=simple
User=obeng
WorkingDirectory=/home/obeng/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