saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-12-06 15:21:35 +02:00
parent 36b77bfee3
commit 2900721b19
7 changed files with 48 additions and 43 deletions

View File

@@ -0,0 +1,13 @@
set $maintenance 0;
if (-f /var/www/html/maintenance/maintenance.html) {
set $maintenance 1;
}
if ($allowed_clients != 1) {
set $maintenance "${maintenance}1";
}
if ($maintenance = 11) {
return 503;
}