summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/systemd/logactio.service7
1 files changed, 3 insertions, 4 deletions
diff --git a/init/systemd/logactio.service b/init/systemd/logactio.service
index e1febf3..400b676 100644
--- a/init/systemd/logactio.service
+++ b/init/systemd/logactio.service
@@ -1,14 +1,13 @@
[Unit]
Description=LogActio executes configured actions based on log events
-After=syslog.target iptables.service
+After=syslog.target iptables.service nftables.service
ConditionFileNotEmpty=/etc/logactio.cfg
[Service]
EnvironmentFile=/etc/sysconfig/logactio
PrivateTmp=true
-Type=forking
-PIDFile=/run/logactio.pid
-ExecStart=/usr/bin/logactio --daemon --pid-file /run/logactio.pid -c /etc/logactio.cfg ${LOGACTIO_OPTS}
+Type=simple
+ExecStart=/usr/bin/logactio -c /etc/logactio.cfg ${LOGACTIO_OPTS}
[Install]
WantedBy=basic.target