1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_discord_ynh.git synced 2024-09-03 19:36:35 +02:00
This commit is contained in:
oufmilo 2024-02-09 18:24:30 +01:00
parent ab4bf7b366
commit 241888b144
2 changed files with 7 additions and 0 deletions

View file

@ -35,6 +35,12 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================
# BACKUP CONFIG FILE
#=================================================
ynh_backup --src_path="$install_dir/mautrix-discord"
#=================================================
# BACKUP THE POSTGRESQL DATABASE
#=================================================

View file

@ -57,6 +57,7 @@ systemctl enable $app.service --quiet
yunohost service add $app --description="Matrix Discord pupetting bridge for YunoHost" --log="/var/log/$app/$app.log"
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
ynh_restore_file --origin_path="$install_dir/mautrix-discord"
#=================================================
# GENERIC FINALIZATION