mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user