1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00
This commit is contained in:
Éric Gaspar 2023-09-07 23:00:53 +02:00
parent b1769b677c
commit 1a0a8a459e
2 changed files with 4 additions and 16 deletions

View file

@ -16,7 +16,7 @@ userdoc = "https://docs.syncthing.net"
code = "https://github.com/syncthing/syncthing"
[integration]
yunohost = ">= 11.1.19"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true

View file

@ -39,14 +39,6 @@ fi
chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir"
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..."
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# UPDATE A CONFIG FILE
#=================================================
@ -68,16 +60,12 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..."
# Create a dedicated NGINX config
ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# GENERIC FINALIZATION
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description="Continuous File Synchronization" --needs_exposed_ports=$port
#=================================================