diff --git a/README.md b/README.md index 95dc373..a04f71c 100755 --- a/README.md +++ b/README.md @@ -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) * python3 requests * cURL (to retrieve credentials first time) +* jq ## Installation diff --git a/dist/you2peer.service b/dist/you2peer.service index 5c09c32..a489d59 100644 --- a/dist/you2peer.service +++ b/dist/you2peer.service @@ -3,9 +3,9 @@ Description=You2Peer update service [Service] Type=oneshot -Path=/opt/you2peer -ExecStart=/bin/python3 /opt/you2peer/src/mirror.py +WorkingDirectory=/opt/you2peer/ +ExecStart=python3 ./src/mirror.py RemainAfterExit=yes [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target