mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 11:18:51 +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 #
|
||||
# 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))
|
||||
|
|
Loading…
Reference in a new issue