aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-remsim-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-remsim-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-remsim-latest')
-rw-r--r--osmo-remsim-latest/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/osmo-remsim-latest/Dockerfile b/osmo-remsim-latest/Dockerfile
index a39aadb..45c5601 100644
--- a/osmo-remsim-latest/Dockerfile
+++ b/osmo-remsim-latest/Dockerfile
@@ -33,6 +33,6 @@ VOLUME /data
#COPY osmo-bts.cfg /data/osmo-bts.cfg
WORKDIR /data
-CMD ["/usr/bin/osmo-resmim-server"]
+CMD ["/bin/sh", "-c", "/usr/bin/osmo-resmim-server >/data/osmo-resmim-server.log 2>&1"]
#EXPOSE