summaryrefslogtreecommitdiffstats
path: root/doc/userguide/initscripts.rst
blob: 7549c01bfd1815341c2c0eb19d50724873f52970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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