aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snmptrapd.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/snmptrapd.sh b/bin/snmptrapd.sh
index 52f3913..c4712f6 100755
--- a/bin/snmptrapd.sh
+++ b/bin/snmptrapd.sh
@@ -37,7 +37,9 @@ export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
# PYTHONUNBUFFERED:
# set PYTHONUNBUFFERED to a non-empty string to avoid output buffering;
# comment out for runtime environments/better performance!
-export PYTHONUNBUFFERED="True"
+# FIXME: This does *NOT* appear to work as desired, so
+# we've added "-u" to command line below
+# export PYTHONUNBUFFERED="True"
# set location of config broker server overrride IF NEEDED
#
@@ -46,7 +48,7 @@ export CBS_SIM_JSON=../etc/snmptrapd.json
# want tracing? Use this:
# python -m trace --trackcalls snmptrapd.py -v
# want verbose logging? Use this:
-# python snmptrapd.py -v
+# python -u snmptrapd.py -v
# standard startup? Use this:
# python snmptrapd.py
-python snmptrapd.py -v
+python -u snmptrapd.py -v