Fix service
This commit is contained in:
parent
36b296cb65
commit
9eb3e9ca09
@ -7,6 +7,7 @@ Python script that mirrors YouTube Channels or playlist on a PeerTube instance
|
|||||||
* youtube-dl (both on machine running this script, and on peertube host)
|
* youtube-dl (both on machine running this script, and on peertube host)
|
||||||
* python3 requests
|
* python3 requests
|
||||||
* cURL (to retrieve credentials first time)
|
* cURL (to retrieve credentials first time)
|
||||||
|
* jq
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
4
dist/you2peer.service
vendored
4
dist/you2peer.service
vendored
@ -3,8 +3,8 @@ Description=You2Peer update service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
Path=/opt/you2peer
|
WorkingDirectory=/opt/you2peer/
|
||||||
ExecStart=/bin/python3 /opt/you2peer/src/mirror.py
|
ExecStart=python3 ./src/mirror.py
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user