Fix service

This commit is contained in:
Samuel Ortion 2022-07-06 08:14:17 +02:00
parent 36b296cb65
commit 9eb3e9ca09
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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
WantedBy=multi-user.target