文件操作 - rsyslog.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/rsyslog.service
编辑文件内容
[Unit] Description=System Logging Service Requires=syslog.socket Documentation=man:rsyslogd(8) Documentation=man:rsyslog.conf(5) Documentation=https://www.rsyslog.com/doc/ [Service] Type=notify ExecStart=/usr/sbin/rsyslogd -n -iNONE StandardOutput=null Restart=on-failure # Increase the default a bit in order to allow many simultaneous # files to be monitored, we might need a lot of fds. LimitNOFILE=16384 [Install] WantedBy=multi-user.target Alias=syslog.service
修改文件时间
将文件时间修改为当前时间的前一年
删除文件