saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2021-10-13 12:25:55 +03:00
parent 3c7113fa30
commit 574e52cc7b
8 changed files with 57 additions and 4 deletions

View File

@@ -3778,6 +3778,7 @@ maybe chmod 0640 'nginx/sites-available/erp.juedt.law'
maybe chown 'nginx' 'nginx/sites-available/jsmal.co' maybe chown 'nginx' 'nginx/sites-available/jsmal.co'
maybe chgrp 'nginx' 'nginx/sites-available/jsmal.co' maybe chgrp 'nginx' 'nginx/sites-available/jsmal.co'
maybe chmod 0640 'nginx/sites-available/jsmal.co' maybe chmod 0640 'nginx/sites-available/jsmal.co'
maybe chmod 0640 'nginx/sites-available/microscope.com'
maybe chown 'nginx' 'nginx/sites-available/odoo.club3d.ro' maybe chown 'nginx' 'nginx/sites-available/odoo.club3d.ro'
maybe chgrp 'nginx' 'nginx/sites-available/odoo.club3d.ro' maybe chgrp 'nginx' 'nginx/sites-available/odoo.club3d.ro'
maybe chmod 0640 'nginx/sites-available/odoo.club3d.ro' maybe chmod 0640 'nginx/sites-available/odoo.club3d.ro'

View File

@@ -1,5 +1,17 @@
ChangeLog: ChangeLog:
14.11 - Added entries in csf.pignore for new cPanel installations:
exe:/usr/sbin/mariadbd
exe:/usr/sbin/atd
exe:/usr/lib/systemd/systemd-timesyncd
exe:/usr/lib/systemd/systemd-networkd
exe:/usr/sbin/rsyslogd
Updated configuration files to support cPanel on Ubuntu
In Server Check don't check for Fork Bomb protection on cPanel servers
running CloudLinux
14.10 - Fixed error message regarding location/permissions to the iptables 14.10 - Fixed error message regarding location/permissions to the iptables
binary in correctly referencing ip6tables binary in correctly referencing ip6tables

View File

@@ -55,7 +55,7 @@ While most should be installed on a standard perl installation the following
may need to be installed manually: may need to be installed manually:
# On rpm based systems: # On rpm based systems:
yum install perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph yum install perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph perl-Math-BigInt.noarch
# On APT based systems: # On APT based systems:
apt-get install libwww-perl liblwp-protocol-https-perl libgd-graph-perl apt-get install libwww-perl liblwp-protocol-https-perl libgd-graph-perl

View File

@@ -1 +1 @@
14.10 14.11

2
hosts
View File

@@ -3,7 +3,7 @@
### ###
192.168.1.2 linux.vrem.ro linux 192.168.1.2 linux.vrem.ro linux
192.168.1.1 speedport.lan 192.168.1.1 speedport.lan
192.168.1.3 backup.lan backup 192.168.1.4 backup.lan backup
192.168.1.5 mail.898.ro mail 192.168.1.5 mail.898.ro mail
192.168.1.21 pi.lan pi.acasa pi 192.168.1.21 pi.lan pi.acasa pi
192.168.1.254 virt.acasa virt 192.168.1.254 virt.acasa virt

View File

@@ -6,7 +6,7 @@ weekly
rotate 4 rotate 4
# create new (empty) log files after rotating old ones # create new (empty) log files after rotating old ones
create create 0640 root utmp
# use date as a suffix of the rotated file # use date as a suffix of the rotated file
dateext dateext

View File

@@ -0,0 +1,39 @@
# odoo server
upstream odoo-microscope {
server 127.0.0.1:8069;
}
upstream odoo-microscope-chat {
server 127.0.0.1:8072;
}
server {
listen 80;
server_name microscope.com;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
# add headers for odoo proxy mode
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
# log files
access_log /var/log/nginx/microscope.com.access.log;
error_log /var/log/nginx/microscope.com.error.log;
# redirect requests to odoo backend server
location / {
proxy_redirect off;
proxy_pass http://odoo-microscope;
}
location /longpolling {
proxy_pass http://odoo-microscope-chat;
}
# common gzip
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}

View File

@@ -0,0 +1 @@
/etc/nginx/sites-available/microscope.com