I have Ubuntu 18.04. I am trying to set up rsyslog service as my default logging server. I messed up configuration and didn't save a copy of the default file before modifying it. I know, stupid. I thought that if I remove the file and re-install rsyslog, default file will get recreated - It didn't. Can someone please suggest what to do in this situation?
Asked
Active
Viewed 1,371 times
apt remove
- you needpurge
for that – steeldriver Oct 26 '19 at 13:40sudo apt install --reinstall -o Dpkg::Options::=--force-confnew rsyslog
– nobody Oct 28 '19 at 15:28