1
0
Fork 0
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:
anmol26s 2018-09-30 21:19:02 +05:30
parent d14daaffd9
commit 7cd8129435
2 changed files with 8 additions and 5 deletions

View file

@ -73,6 +73,8 @@ trending:
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
redundancy:
videos:
check_interval: '10 hour' # How often you want to check new videos to cache
strategies:
# -
# size: '10GB'
# strategy: 'most-views' # Cache videos that have the most views
@ -80,9 +82,11 @@ redundancy:
# size: '10GB'
# strategy: 'trending' # Cache trending videos
# -
# size: '10GB'
# strategy: 'recently-added' # Cache recently added videos
# minViews: 10 # Having at least x views
size: '1GB'
# Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
min_lifetime: '48 hours'
strategy: 'recently-added' # Cache recently added videos
minViews: 10 # Having at least x views

View file

@ -8,8 +8,7 @@ Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
User=__APP__
Group=__APP__
Environment="PATH=__ENV_PATH__"
ExecStart=/bin/sh -c 'npm start'
ExecStart=/bin/sh -c '/usr/bin/npm start'
WorkingDirectory=__FINALPATH__/
StandardOutput=syslog
StandardError=syslog