mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Fix backup
This commit is contained in:
parent
89f4853d8c
commit
d7bf78aae6
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ ynh_remove_uwsgi_service () {
|
||||||
# usage: ynh_backup_uwsgi_service
|
# usage: ynh_backup_uwsgi_service
|
||||||
ynh_backup_uwsgi_service () {
|
ynh_backup_uwsgi_service () {
|
||||||
ynh_backup --src_path="/etc/uwsgi/apps-available/$app.ini"
|
ynh_backup --src_path="/etc/uwsgi/apps-available/$app.ini"
|
||||||
ynh_backup --src_path="/etc/systemd/system/uwsgi-app@$app.service.d"
|
if [ -e "/etc/systemd/system/uwsgi-app@$app.service.d" ]; then
|
||||||
|
ynh_backup --src_path="/etc/systemd/system/uwsgi-app@$app.service.d"
|
||||||
|
FI
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore the dedicated uwsgi config
|
# Restore the dedicated uwsgi config
|
||||||
|
|
Loading…
Add table
Reference in a new issue