diff --git a/scripts/install b/scripts/install index 87d746a..ab2a509 100644 --- a/scripts/install +++ b/scripts/install @@ -130,10 +130,11 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 +mkdir -p "/etc/vikunja" redis_db=$(ynh_redis_get_free_db) -ynh_add_config --template="../conf/config.yml" --destination="/opt/vikunja/config.yml" -chmod 400 "/opt/vikunja/config.yml" -chown $app:$app "/opt/vikunja/config.yml" +ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml" +chmod 400 "/etc/vikunja/config.yml" +chown $app:$app "/etc/vikunja/config.yml" #================================================= # SETUP SYSTEMD