mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
changed path while creating password
This commit is contained in:
parent
d14daaffd9
commit
7cd8129435
2 changed files with 8 additions and 5 deletions
|
@ -73,6 +73,8 @@ trending:
|
||||||
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
|
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
|
||||||
redundancy:
|
redundancy:
|
||||||
videos:
|
videos:
|
||||||
|
check_interval: '10 hour' # How often you want to check new videos to cache
|
||||||
|
strategies:
|
||||||
# -
|
# -
|
||||||
# size: '10GB'
|
# size: '10GB'
|
||||||
# strategy: 'most-views' # Cache videos that have the most views
|
# strategy: 'most-views' # Cache videos that have the most views
|
||||||
|
@ -80,9 +82,11 @@ redundancy:
|
||||||
# size: '10GB'
|
# size: '10GB'
|
||||||
# strategy: 'trending' # Cache trending videos
|
# strategy: 'trending' # Cache trending videos
|
||||||
# -
|
# -
|
||||||
# size: '10GB'
|
size: '1GB'
|
||||||
# strategy: 'recently-added' # Cache recently added videos
|
# Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
|
||||||
# minViews: 10 # Having at least x views
|
min_lifetime: '48 hours'
|
||||||
|
strategy: 'recently-added' # Cache recently added videos
|
||||||
|
minViews: 10 # Having at least x views
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,7 @@ Environment=NODE_ENV=production
|
||||||
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
|
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
Environment="PATH=__ENV_PATH__"
|
ExecStart=/bin/sh -c '/usr/bin/npm start'
|
||||||
ExecStart=/bin/sh -c 'npm start'
|
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
|
|
Loading…
Add table
Reference in a new issue