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:
parent
267d65e510
commit
abed55cce2
3 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue