saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2021-09-26 22:25:35 +03:00
parent a373247ee2
commit e8d32c9c27
3 changed files with 12 additions and 1 deletions

10
rsyslog.d/00-backup.conf Normal file
View File

@@ -0,0 +1,10 @@
# enable log reception from remote hosts
$ModLoad imudp
$UDPServerRun 514
$AllowedSender UDP, 192.168.1.4/32
$template RemoteStore, "/var/log/%HOSTNAME%.log"
:source,isequal,"backup",-?RemoteStore
& stop