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
|
||||||
|
|
||||||
|
6
dist/you2peer.service
vendored
6
dist/you2peer.service
vendored
@ -3,9 +3,9 @@ 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]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user