1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrumblr_ynh.git synced 2024-09-03 20:16:29 +02:00

fix warming and typo

This commit is contained in:
Tobias Ollive 2021-12-31 09:53:24 +01:00
parent 267d65e510
commit abed55cce2
3 changed files with 5 additions and 1 deletions

View file

@ -110,7 +110,7 @@ ynh_script_progression --message="Updating systemd configuration..." --weight=1
if [ $change_path -eq 1 ]
then
ynh_replace_string --match_string=$old_path --replace_string=$new_path --target_file="/etc/systemd/system/$app.service"
systemctl deamon-reload
systemctl daemon-reload
fi
#=================================================

View file

@ -85,6 +85,8 @@ systemctl enable $app.service --quiet
#=================================================
ynh_script_progression --message="Restoring the redis configuration..." --weight=1
ynh_install_app_dependencies redis-server redis-tools
ynh_restore_file --origin_path="/etc/systemd/system/redis-$app.service"
systemctl enable "redis-$app.service" --quiet

View file

@ -35,6 +35,8 @@ fi
upgrade_type=$(ynh_check_app_version_changed)
ynh_install_app_dependencies redis-server redis-tools
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================