summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-11-07 07:25:59 -0700
committerGeorge Joseph <gjoseph@digium.com>2017-11-15 10:43:37 -0500
commitc1a82bcb8c3f8c5262b76c5a75c936305aa25888 (patch)
tree7f6f42db90445e56c18755b5464f4ffcc7e73f38 /configs
parentb8fafd6806ab2684d547074b25a56dd152097341 (diff)
ast_coredumper: Add ability to use directory other than /tmp
The OUTPUTDIR environment variable can now be set either in the environment itself or in ast_debug_tools.conf. If set, it's used for all work products instead of /tmp. Also added the --tarball-config option that includes the contents of /etc/asterisk when either --tarball-coredumps or --tarball-results are used. Change-Id: I66b2553319df61caea5b313d084f51978f730b4c
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/ast_debug_tools.conf.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/samples/ast_debug_tools.conf.sample b/configs/samples/ast_debug_tools.conf.sample
index f26626b20..1c4827f91 100644
--- a/configs/samples/ast_debug_tools.conf.sample
+++ b/configs/samples/ast_debug_tools.conf.sample
@@ -20,6 +20,12 @@
# anyway.
COREDUMPS=(/tmp/core[-._]asterisk!(*.txt) /tmp/core[-._]$(hostname)!(*.txt))
+# The directory to contain output files and work directories.
+# For output from existing core files, the default is the
+# directory that the core file is found in. For core files
+# produced from a running process, the default is /tmp.
+OUTPUTDIR=/some/directory
+
# Date command for the "running" coredump and tarballs.
# DATEFORMAT will be executed to get the timestamp.
# Don't put quotes around the format string or they'll be