[Unit] Description=Pastebin download newest raw paste data [Service] # user that is running pastebinner User=booboy # change WorkingDirectory to directory where pastebinner bin dir is located WorkingDirectory=/home/booboy/bin/bpmcdevitt_gitlab/pastebinner/bin # change ExecStart to point to our pastebinner binary and pass in the --download option ExecStart=/usr/bin/ruby /home/booboy/bin/bpmcdevitt_gitlab/pastebinner/bin/pastebinner --download [Install] WantedBy=multi-user.target