14 lines
481 B
SYSTEMD
14 lines
481 B
SYSTEMD
![]() |
[Unit]
|
||
|
Description=Pastebin download newest json 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 --json option
|
||
|
ExecStart=/usr/bin/ruby /home/booboy/bin/bpmcdevitt_gitlab/pastebinner/bin/pastebinner --json
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|