No, however a template is created as ./etc/suricata.service. Its used with some patching on RHEL/Fedora systems, but I think its generic enough to use elsewhere. Pretty sure I’ve tested it on Ubuntu.
I don’t know enough about systems to know if its generic enough to start installing it though, so leave that up to packagers, end-users.
Thank you.
I have created a bash script to control Suricata operations (start, stop, etc.) and arbitrarily located it in /etc/init.d/. Would you interested in reviewing it?
No thanks. Don’t mean to be rude but it’s a systemd world now, at least on Linux. And rc.d style scripts are usually even more distribution specific.
Have you thought about packaging Suricata for Suse? I’ve tried to get started with the OBS a few times now but have always got side tracked before having anything usable.
Why I like more first one? Because it doesn’t use supplementary & redundant file to be configured (“/etc/default/suricata” / “/etc/sysconfig/suricata”) ; because it’s clear which capture system is uses (–af-packet) among the several possibilities to choose ; because it uses suricatasc to control stop and reload of binary…this file seems a lot more “modern” than official configuration file!