1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

Add --not_mandatory

This commit is contained in:
ewilly 2023-10-19 22:54:27 +02:00
parent 62c9a53b3f
commit 3ba489fc6a

View file

@ -117,7 +117,7 @@ ynh_backup_uwsgi_service () {
ynh_restore_uwsgi_service () {
ynh_check_global_uwsgi_config
ynh_restore_file --origin_path="/etc/uwsgi/apps-available/$app.ini"
ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d"
ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d" --not_mandatory
mkdir -p "/var/log/uwsgi/$app"
chown $app:root "/var/log/uwsgi/$app"