1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=LogActio executes configured actions based on log events After=syslog.target iptables.service nftables.service ConditionFileNotEmpty=/etc/logactio.cfg [Service] EnvironmentFile=/etc/sysconfig/logactio PrivateTmp=true Type=simple ExecStart=/usr/bin/logactio -c /etc/logactio.cfg ${LOGACTIO_OPTS} [Install] WantedBy=basic.target