pastebinner/examples/systemd/pastebinner_download_raw_paste.service

14 lines
488 B
SYSTEMD
Raw Permalink Normal View History

[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