1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/acropolis_ynh.git synced 2024-09-03 18:06:22 +02:00

source another ynh_add_swap and fix service name in upgrade

This commit is contained in:
David Sterry 2021-12-12 23:40:36 -08:00
parent bf71b009ba
commit e7fe467f3d
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts # 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/_common.sh
source ../settings/scripts/ynh_add_swap
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================

View file

@ -204,8 +204,8 @@ chown $app:$app "$diaspora_toml"
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config --service="$app-web" --template="glitchsoc-web.service" ynh_add_systemd_config --service="$app-web" --template="acropolis-web.service"
ynh_add_systemd_config --service="$app-sidekiq" --template="glitchsoc-sidekiq.service" ynh_add_systemd_config --service="$app-sidekiq" --template="acropolis-sidekiq.service"
ynh_script_progression --message="Upgrading acropolis..." ynh_script_progression --message="Upgrading acropolis..."