mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Merge branch 'version-2' of https://github.com/YunoHost-Apps/peertube_ynh into version-2
This commit is contained in:
commit
8584795769
3 changed files with 2 additions and 4 deletions
|
@ -1,2 +0,0 @@
|
||||||
{
|
|
||||||
}
|
|
|
@ -97,7 +97,8 @@ ynh_add_config --template="production.yaml" --destination="$install_dir/config/p
|
||||||
chmod 400 "$install_dir/config/production.yaml"
|
chmod 400 "$install_dir/config/production.yaml"
|
||||||
chown $app:$app "$install_dir/config/production.yaml"
|
chown $app:$app "$install_dir/config/production.yaml"
|
||||||
|
|
||||||
ynh_add_config --template="local-production.json" --destination="$install_dir/config/local-production.json"
|
# Initialize local setting conf file
|
||||||
|
echo '{}' > "$install_dir/config/local-production.json"
|
||||||
chmod 600 "$install_dir/config/local-production.json"
|
chmod 600 "$install_dir/config/local-production.json"
|
||||||
chown $app:$app "$install_dir/config/local-production.json"
|
chown $app:$app "$install_dir/config/local-production.json"
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,6 @@ ynh_add_config --template="../conf/production.yaml" --destination="$install_dir/
|
||||||
chmod 400 "$install_dir/config/production.yaml"
|
chmod 400 "$install_dir/config/production.yaml"
|
||||||
chown $app:$app "$install_dir/config/production.yaml"
|
chown $app:$app "$install_dir/config/production.yaml"
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different --file="$install_dir/config/local-production.json"
|
|
||||||
chmod 600 "$install_dir/config/local-production.json"
|
chmod 600 "$install_dir/config/local-production.json"
|
||||||
chown $app:$app "$install_dir/config/local-production.json"
|
chown $app:$app "$install_dir/config/local-production.json"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue