summaryrefslogtreecommitdiffstats
path: root/doc/userguide/initscripts.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:49 +0000
commita0aa2307322cd47bbf416810ac0292925e03be87 (patch)
tree37076262a026c4b48c8a0e84f44ff9187556ca35 /doc/userguide/initscripts.rst
parentInitial commit. (diff)
downloadsuricata-3c02481111c540a7642503dfcf0b62e8c69b6ff0.tar.xz
suricata-3c02481111c540a7642503dfcf0b62e8c69b6ff0.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 'doc/userguide/initscripts.rst')
-rw-r--r--doc/userguide/initscripts.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/userguide/initscripts.rst b/doc/userguide/initscripts.rst
new file mode 100644
index 0000000..7549c01
--- /dev/null
+++ b/doc/userguide/initscripts.rst
@@ -0,0 +1,15 @@
+Init Scripts
+============
+
+For Ubuntu with Upstart, the following can be used in ``/etc/init/suricata.conf``:
+
+
+::
+
+
+ # suricata
+ description "Intrusion Detection System Daemon"
+ start on runlevel [2345]
+ stop on runlevel [!2345]
+ expect fork
+ exec suricata -D --pidfile /var/run/suricata.pid -c /etc/suricata/suricata.yaml -i eth1