aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-msc-latest
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-13 15:26:45 +0100
committerlaforge <laforge@osmocom.org>2019-11-19 18:29:00 +0000
commita9877bf4871533e55633ab2de03e308c46eba60a (patch)
tree20b332dc0a6e0e117e4b83a40f16c7e31326afbf /osmo-msc-latest
parentf19670453d79ccc40ab62449fb6f6427f8bf41f3 (diff)
Update osmo-*/Dockerfile to log stdout+stderr of process to log file
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I9493ff73ef27c7c6d32b00cf827704b3f9cbf86a
Diffstat (limited to 'osmo-msc-latest')
-rw-r--r--osmo-msc-latest/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/osmo-msc-latest/Dockerfile b/osmo-msc-latest/Dockerfile
index 928c93a..5780f71 100644
--- a/osmo-msc-latest/Dockerfile
+++ b/osmo-msc-latest/Dockerfile
@@ -29,6 +29,6 @@ VOLUME /data
COPY osmo-msc.cfg /data/osmo-msc.cfg
WORKDIR /data
-CMD ["/usr/bin/osmo-msc"]
+CMD ["/bin/sh", "-c", "/usr/bin/osmo-msc -c /data/osmo-msc.cfg >/data/osmo-msc.log 2>&1"]
-#EXPOSE
+#EXPOSE