diff options
Diffstat (limited to 'doc/userguide/initscripts.rst')
-rw-r--r-- | doc/userguide/initscripts.rst | 15 |
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 |