|
Edited by RoyK at 2018-3-20 03:31
I didn't find anything around and asked before I tried, so ok
# systemctl stop rsyslog.service
# systemctl stop syslog.socket
# lsof /var/log
(make sure it's empty)
# systemctl stop log2ram
# systemctl disable log2ram
# mv /var/log /var/oldlog
# rsync -avPHAXx /var/oldlog /var/log
# reboot
After the reboot, remove /var/oldlog if you don't really need it
Works for me (tm) - if the logs fill up my fs, I'll need to fix that instead of getting tons of messages about a full filesystem |
|