diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:49 +0000 |
commit | a0aa2307322cd47bbf416810ac0292925e03be87 (patch) | |
tree | 37076262a026c4b48c8a0e84f44ff9187556ca35 /etc/suricata.service.in | |
parent | Initial commit. (diff) | |
download | suricata-a0aa2307322cd47bbf416810ac0292925e03be87.tar.xz suricata-a0aa2307322cd47bbf416810ac0292925e03be87.zip |
Adding upstream version 1:7.0.3.upstream/1%7.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | etc/suricata.service.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/suricata.service.in b/etc/suricata.service.in new file mode 100644 index 0000000..cce1baa --- /dev/null +++ b/etc/suricata.service.in @@ -0,0 +1,16 @@ +# Sample Suricata systemd unit file. +[Unit] +Description=Suricata Intrusion Detection Service +After=syslog.target network-online.target + +[Service] +# Environment file to pick up $OPTIONS. On Fedora/EL this would be +# /etc/sysconfig/suricata, or on Debian/Ubuntu, /etc/default/suricata. +#EnvironmentFile=-/etc/sysconfig/suricata +#EnvironmentFile=-/etc/default/suricata +ExecStartPre=/bin/rm -f @e_rundir@suricata.pid +ExecStart=/sbin/suricata -c @e_sysconfdir@suricata.yaml --pidfile @e_rundir@suricata.pid $OPTIONS +ExecReload=/bin/kill -USR2 $MAINPID + +[Install] +WantedBy=multi-user.target |