mirror of
https://github.com/YunoHost-Apps/acropolis_ynh.git
synced 2024-09-03 18:06:22 +02:00
add ynh_add_swap to restore script, fix service names in upgrade (#34)
This commit is contained in:
parent
b5bf3d15cf
commit
65156519ba
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
|
||||
source ../settings/scripts/_common.sh
|
||||
source ../settings/scripts/ynh_add_swap
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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..."
|
||||
|
|
Loading…
Add table
Reference in a new issue