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:
parent
bf71b009ba
commit
e7fe467f3d
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue