Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgaspar committed Jul 26, 2024
1 parent 8de347b commit bd0d4aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions scripts/backup
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,11 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir"

#=================================================
# SPECIFIC BACKUP
#=================================================
# BACKUP LOGROTATE
# SYSTEM CONFIGURATION
#=================================================

ynh_backup --src_path="/etc/logrotate.d/$app"

#=================================================
# BACKUP SYSTEMD
#=================================================

ynh_backup --src_path="/etc/systemd/system/$app.service"

#=================================================
Expand Down
2 changes: 0 additions & 2 deletions scripts/remove
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ ynh_script_progression --message="Removing various files..." --weight=6
ynh_secure_remove --file="/etc/matrix-$synapse_instance/app-service/$app.yaml"
/opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh || ynh_die --message="Synapse can't restart with the appservice configuration"

# Remove the log files

#=================================================
# END OF SCRIPT
#=================================================
Expand Down

0 comments on commit bd0d4aa

Please sign in to comment.