Commit 721e1dd0 by Szeberényi Imre

rsyslog config for to generate separate dhcpd.log file

parent df89c7aa
##############
#
# dhcpd_rsyslog.conf
#
# - rsyslog config to generate separate dhcp.log owned by dhcpd user,
# allowing fwdriver to process it
#
# IMPORTANT:
# 1. UMask=0027 should be set in rsyslog.service
# 2. fw group should be added to dhcpd group
#
$FileCreateMode 0644
$fileOwner dhcpd
$fileGroup dhcpd
$umask 027
if $programname == 'dhcpd' then /var/log/dhcp.log
$fileOwner root
$fileGroup root
$umask 077
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment