1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
yalh76 2021-04-09 00:27:39 +02:00
parent 5e0c091a8b
commit 1be4caaaf2
4 changed files with 10 additions and 4 deletions

View file

@ -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~ynh1", "version": "3.1.0~ynh2",
"url": "https://github.com/Chocobozzz/PeerTube", "url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": [ "maintainer": [

View file

@ -149,7 +149,7 @@ ynh_script_progression --message="Creating the data directory..."
mkdir -p "$datadir" mkdir -p "$datadir"
# Give permission to the datadir # Give permission to the datadir
chown -R "$app":"$app" "$datadir" chown -R $app:$app $datadir
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
@ -224,6 +224,9 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files # Set permissions to app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
# Give permission to the datadir
chown -R $app:$app $datadir
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE
#================================================= #=================================================

View file

@ -92,7 +92,7 @@ ynh_restore_file --origin_path="$datadir" --not_mandatory
mkdir -p "$datadir" mkdir -p "$datadir"
# Give permission to the datadir # Give permission to the datadir
chown -R "$app":"$app" "$datadir" chown -R $app:$app $datadir
#================================================= #=================================================
# REINSTALL DEPENDENCIES # REINSTALL DEPENDENCIES

View file

@ -224,7 +224,7 @@ then
fi fi
# Give permission to the datadir # Give permission to the datadir
chown -R "$app":"$app" "$datadir" chown -R $app:$app $datadir
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
@ -276,6 +276,9 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files # Set permissions on app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
# Give permission to the datadir
chown -R $app:$app $datadir
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE
#================================================= #=================================================