mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Merge pull request #228 from YunoHost-Apps/testing
Manage rights on local-production.json
This commit is contained in:
commit
343f2b80e0
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
|
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
|
||||||
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
|
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
|
||||||
},
|
},
|
||||||
"version": "3.1.0~ynh4",
|
"version": "3.1.0~ynh5",
|
||||||
"url": "https://github.com/Chocobozzz/PeerTube",
|
"url": "https://github.com/Chocobozzz/PeerTube",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"maintainer": [
|
"maintainer": [
|
||||||
|
|
|
@ -178,7 +178,7 @@ chown $app:$app "$final_path/config/production.yaml"
|
||||||
|
|
||||||
ynh_add_config --template="../conf/local-production.json" --destination="$final_path/config/local-production.json"
|
ynh_add_config --template="../conf/local-production.json" --destination="$final_path/config/local-production.json"
|
||||||
|
|
||||||
chmod 400 "$final_path/config/local-production.json"
|
chmod 600 "$final_path/config/local-production.json"
|
||||||
chown $app:$app "$final_path/config/local-production.json"
|
chown $app:$app "$final_path/config/local-production.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -230,7 +230,7 @@ ynh_add_config --template="../conf/production.yaml" --destination="$final_path/c
|
||||||
chmod 400 "$final_path/config/production.yaml"
|
chmod 400 "$final_path/config/production.yaml"
|
||||||
chown $app:$app "$final_path/config/production.yaml"
|
chown $app:$app "$final_path/config/production.yaml"
|
||||||
|
|
||||||
chmod 400 "$final_path/config/local-production.json"
|
chmod 600 "$final_path/config/local-production.json"
|
||||||
chown $app:$app "$final_path/config/local-production.json"
|
chown $app:$app "$final_path/config/local-production.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue