✏️ 编辑:rsyslog.service
路径:
/usr/lib/systemd/system/rsyslog.service
大小:999 B · 修改:2026-09-22 04:26:54 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
[Unit] Description=System Logging Service ;Requires=syslog.socket Wants=network.target network-online.target After=network.target network-online.target Documentation=man:rsyslogd(8) Documentation=https://www.rsyslog.com/doc/ [Service] Type=notify EnvironmentFile=-/etc/sysconfig/rsyslog ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID UMask=0066 StandardOutput=null Restart=on-failure RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX RestrictNamespaces=net NoNewPrivileges=yes ProtectControlGroups=yes ProtectHome=read-only ProtectKernelModules=yes ProtectKernelTunables=yes RestrictSUIDSGID=yes SystemCallArchitectures=native SystemCallFilter=~@clock @debug @module @raw-io @reboot @swap @cpu-emulation @obsolete LockPersonality=yes MemoryDenyWriteExecute=yes # 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
💾 保存
取消
保存为 UTF-8,换行统一为 LF