diff --git a/installer/upstart/suricata.conf b/installer/upstart/suricata.conf index 833fa625..884a7fb4 100644 --- a/installer/upstart/suricata.conf +++ b/installer/upstart/suricata.conf @@ -2,12 +2,12 @@ # T-Pot # # Suricata upstart script # # # -# v0.04 by mo, DTAG, 2015-12-08 # +# v16.03.1 by mo, DTAG, 2015-12-11 # ######################################################## description "Suricata" author "mo" -start on (started docker and filesystem) +start on started docker and filesystem stop on runlevel [!2345] respawn pre-start script @@ -24,7 +24,7 @@ end script script # Delayed start to avoid rapid respawning sleep $(((RANDOM % 5)+5)) - /usr/bin/docker run --name suricata --cap-add=NET_ADMIN --net=host --rm=true -v /data:/data dtagdevsec/suricata:latest1603 + /usr/bin/docker run --name suricata --cap-add=NET_ADMIN --net=host --rm=true -v /data/suricata:/data/suricata dtagdevsec/suricata:latest1603 end script post-start script sleep $(((RANDOM % 5)+5))