mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2025-09-03 02:28:30 +02:00
Cleanup after auto patch
This commit is contained in:
@ -36,15 +36,7 @@ _set_permissions
|
||||
|
||||
ynh_script_progression "Configuring application, step 1/2..."
|
||||
|
||||
internal_token="$(ynh_exec_as_app "$install_dir/gitea" generate secret INTERNAL_TOKEN)"
|
||||
secret_key="$(ynh_exec_as_app "$install_dir/gitea" generate secret SECRET_KEY)"
|
||||
lfs_jwt_secret="$(ynh_exec_as_app "$install_dir/gitea" generate secret JWT_SECRET)"
|
||||
jwt_secret="$(ynh_exec_as_app "$install_dir/gitea" generate secret JWT_SECRET)"
|
||||
|
||||
ynh_app_setting_set --key=internal_token --value="$internal_token"
|
||||
ynh_app_setting_set --key=secret_key --value="$secret_key"
|
||||
ynh_app_setting_set --key=lfs_jwt_secret --value="$lfs_jwt_secret"
|
||||
ynh_app_setting_set --key=jwt_secret --value="$jwt_secret"
|
||||
set_settings_default
|
||||
|
||||
ynh_config_add --template='app.ini' --destination="$install_dir/custom/conf/app.ini"
|
||||
|
||||
|
Reference in New Issue
Block a user