Rewrite uwsgi to use the helper

This commit is contained in:
Jean-Baptiste Holcroft
2018-07-05 23:21:03 +02:00
parent 613527af71
commit f6682e66ac
10 changed files with 190 additions and 83 deletions

View File

@@ -60,7 +60,8 @@ ynh_mysql_dump_db "$db_name" > db.sql
ynh_backup "/etc/logrotate.d/$app"
#=================================================
# BACKUP SYSTEMD
# BACKUP THE UWSGI FILES
#=================================================
ynh_backup "/etc/systemd/system/$app.service"
ynh_backup "/etc/uwsgi/apps-available/$app.ini"
ynh_backup "/etc/systemd/system/uwsgi-app@.service"