1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/couchdb_ynh.git synced 2024-09-03 18:16:11 +02:00

Fix rights

This commit is contained in:
yalh76 2021-05-19 01:53:08 +02:00
parent d14e4b4ca0
commit 60b8ab1ae2
3 changed files with 12 additions and 0 deletions

View file

@ -108,6 +108,10 @@ ynh_script_progression --message="Customizing couchdb config..." --weight=2
# customize a bit the couch config
ynh_add_config --template="../conf/couch_ynh.ini" --destination="$final_path/etc/local.d/couch_ynh.ini"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
#=================================================
# SETUP LOGROTATE
#=================================================

View file

@ -99,6 +99,10 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D6
ynh_install_extra_app_dependencies --repo="https://apache.bintray.com/couchdb-deb buster main" --package="couchdb"
# ynh_install_extra_app_dependencies --repo="https://apache.bintray.com/couchdb-deb buster main" --package="couchdb" --key="https://apache.bintray.com/couchdb-deb/dists/buster/Release.gpg"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================

View file

@ -104,6 +104,10 @@ ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/couch_ynh.ini" --destination="$final_path/etc/local.d/couch_ynh.ini"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
#=================================================
# GENERIC FINALIZATION
#=================================================