[Oisf-users] suricata does not start in a script
James Moe
jimoe at sohnen-moe.com
Tue May 5 22:09:26 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/05/2015 02:26 PM, Peter Manev wrote:
> You can enable the suricata.log (and point it to a dir of your
> choice) output from suricata.yaml and start suricata with the "-v"
> switch as well.
>
Did that. No joy.
It was the "&" at the end of the command string that was the
confusion factor.
By changing this:
start) CMD="${SURI} ${OPT3} ${OPT2} ${OPT1} -i eth0 &"
ethtool -K eth0 gro off
${CMD}
;;
To this:
start) CMD="${SURI} ${OPT3} ${OPT2} ${OPT1} -i eth0"
ethtool -K eth0 gro off
${CMD} &
;;
The script now functions correctly for starting suricata.
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlVJP5YACgkQzTcr8Prq0ZNJbwCeOH5pv2eAOiQVPuCQ7LmEohJm
vlAAn1KaG0Ip16PCbrlL1TxCeKcf/UeN
=gqcF
-----END PGP SIGNATURE-----
More information about the Oisf-users
mailing list