Skip to content

Instantly share code, notes, and snippets.

View qiwichupa's full-sized avatar

qiwichupa

View GitHub Profile
@flisk
flisk / remove-rsyslog.sh
Created July 27, 2021 09:02
Remove rsyslog and its log files from Debian systems not requiring rsyslog compatibility
#!/usr/bin/env bash
#
# remove-rsyslog -- remove rsyslog and its log files
#
# As of Debian 10, rsyslog exists mainly for backwards compatibility reasons,
# and it is not required for the base system to operate. If you do not require
# this backwards compatibility, you can use this script to remove rsyslog and
# all of its redundant log files from your system.
#
systemctl disable --now rsyslog.service