The pstore.conf configuration file has four settings, described below. - Storage : one of "none", "archive", or "journal". With "none", this tool leaves the contents of pstore untouched. With "archive", the contents of the pstore are moved into the ArchiveDir. With "journal", the contents of the pstore are recorded in the systemd journal. The default is "archive". - SourceDir : contains a path to the pstore. The default is "/sys/fs/pstore". - ArchiveDir : contains a path to archive pstore contents. The default is "/var/lib/systemd/pstore". - AllowUnlink : is one of "yes" or "no". When "yes", the default, then files in the pstore are removed once processed. When "no", processing of the pstore occurs normally, but the pstore files remain.
Signed-off-by: Eric DeVolder <eric.devol...@oracle.com> --- src/pstore/pstore.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/pstore/pstore.conf diff --git a/src/pstore/pstore.conf b/src/pstore/pstore.conf new file mode 100644 index 0000000..985a953 --- /dev/null +++ b/src/pstore/pstore.conf @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See pstore.conf(5) for details. + +[Pstore] +#Storage=archive +#SourceDir=/sys/fs/pstore +#ArchiveDir=/var/lib/systemd/pstore +#AllowUnlink=yes + -- 2.7.4 _______________________________________________ systemd-devel mailing list firstname.lastname@example.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel