1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Remove integrate service

This commit is contained in:
ericgaspar 2021-01-21 22:49:32 +01:00
parent bf65cac124
commit 8c3cf51d71
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 15 deletions

View file

@ -110,13 +110,6 @@ ln -s "/etc/uwsgi/apps-available/$app.ini" "$final_path/syncserver.ini"
# configure uwsgi # configure uwsgi
ynh_add_uwsgi_service 'domain secret db_user db_pwd db_name' ynh_add_uwsgi_service 'domain secret db_user db_pwd db_name'
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."--weight=1
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Loading installation settings..."
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain) domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app $app --key path) path_url=$(ynh_normalize_url_path --path_url $(ynh_app_setting_get --app $app --key path))
final_path=$(ynh_app_setting_get --app $app --key=final_path) final_path=$(ynh_app_setting_get --app $app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
secret=$(ynh_app_setting_get --app $app --key=secret) secret=$(ynh_app_setting_get --app $app --key=secret)
@ -154,13 +154,6 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files # Set permissions on app files
set_permissions set_permissions
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."--weight=1
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================