summaryrefslogtreecommitdiffstats
path: root/module/obmc/wsgi
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-08-02 08:16:11 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-20 23:33:50 +0000
commit18c3a2422fcdd619da7017c3f636623e0df470d0 (patch)
tree480cfaa3ec960118ea4ca289b72a079a315dc038 /module/obmc/wsgi
parenta6a8a4c16684fbcb05b36aaa5e4b52d8f36b0eea (diff)
downloadphosphor-rest-server-18c3a2422fcdd619da7017c3f636623e0df470d0.tar.gz
phosphor-rest-server-18c3a2422fcdd619da7017c3f636623e0df470d0.zip
Change Dump file storage location
Changed the dump storage location from /tmp/dumps to /var/lib/phosphor-debug-collector/dumps Change-Id: I792f7661d377cb8fc5d77441a61b640fd5c2daf4 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'module/obmc/wsgi')
-rw-r--r--module/obmc/wsgi/apps/rest_dbus.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py
index 5719236..6560367 100644
--- a/module/obmc/wsgi/apps/rest_dbus.py
+++ b/module/obmc/wsgi/apps/rest_dbus.py
@@ -747,8 +747,7 @@ class DownloadDumpHandler(RouteHandler):
verbs = 'GET'
rules = ['/download/dump/<dumpid>']
content_type = 'application/octet-stream'
- ''' TODO openbmc/issues #1795, Change dump path'''
- dump_loc = '/tmp/dumps'
+ dump_loc = '/var/lib/phosphor-debug-collector/dumps'
suppress_json_resp = True
def __init__(self, app, bus):
OpenPOWER on IntegriCloud