mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
log json output to host
This commit is contained in:
parent
6ec9f80343
commit
bcba6b7390
1 changed files with 3 additions and 3 deletions
|
@ -2,12 +2,12 @@
|
||||||
# T-Pot #
|
# T-Pot #
|
||||||
# Suricata upstart script #
|
# Suricata upstart script #
|
||||||
# #
|
# #
|
||||||
# v0.04 by mo, DTAG, 2015-12-08 #
|
# v16.03.1 by mo, DTAG, 2015-12-11 #
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
description "Suricata"
|
description "Suricata"
|
||||||
author "mo"
|
author "mo"
|
||||||
start on (started docker and filesystem)
|
start on started docker and filesystem
|
||||||
stop on runlevel [!2345]
|
stop on runlevel [!2345]
|
||||||
respawn
|
respawn
|
||||||
pre-start script
|
pre-start script
|
||||||
|
@ -24,7 +24,7 @@ end script
|
||||||
script
|
script
|
||||||
# Delayed start to avoid rapid respawning
|
# Delayed start to avoid rapid respawning
|
||||||
sleep $(((RANDOM % 5)+5))
|
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
|
end script
|
||||||
post-start script
|
post-start script
|
||||||
sleep $(((RANDOM % 5)+5))
|
sleep $(((RANDOM % 5)+5))
|
||||||
|
|
Loading…
Reference in a new issue