Merge branch 'testing' into version-2

This commit is contained in:
Salamandar 2024-01-28 17:53:46 +01:00
commit 6a4fff8c58
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable "$app.service" --quiet systemctl enable "$app.service" --quiet
yunohost service add "$app" --description="File sharing platform" --log="/var/log/$app/$app.log" yunohost service add "$app" --description="File sharing platform"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1 ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" ynh_systemd_action --service_name="$app" --action="stop"
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY
@ -46,7 +46,7 @@ ynh_add_nginx_config
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config
yunohost service add "$app" --description="File sharing platform" --log="/var/log/$app/$app.log" yunohost service add "$app" --description="File sharing platform"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE