diff --git a/scripts/restore b/scripts/restore index b23652b..185baa9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -8,6 +8,7 @@ # Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh +source ../settings/scripts/ynh_add_swap source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d3d4cdb..a882c0b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -204,8 +204,8 @@ chown $app:$app "$diaspora_toml" ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config -ynh_add_systemd_config --service="$app-web" --template="glitchsoc-web.service" -ynh_add_systemd_config --service="$app-sidekiq" --template="glitchsoc-sidekiq.service" +ynh_add_systemd_config --service="$app-web" --template="acropolis-web.service" +ynh_add_systemd_config --service="$app-sidekiq" --template="acropolis-sidekiq.service" ynh_script_progression --message="Upgrading acropolis..."