Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# This configuration file will help in
|
||||
# removing all the hidden files in the
|
||||
# coredump folder at boot time.
|
||||
#
|
||||
# See tmpfiles.d for more details
|
||||
|
||||
R! /var/lib/systemd/coredump/.[^.] - - - -
|
||||
R! /var/lib/systemd/coredump/.??* - - - -
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Phosphor Dump core monitor.
|
||||
ConditionPathExists=/var/lib/systemd/coredump
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env phosphor-dump-monitor
|
||||
SyslogIdentifier=phosphor-dump-monitor
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Ramoops monitor.
|
||||
ConditionPathExistsGlob=/var/lib/systemd/pstore/dmesg-ramoops-*
|
||||
After=xyz.openbmc_project.Dump.Manager.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/phosphor-ramoops-monitor
|
||||
SyslogIdentifier=ramoops-monitor
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Phosphor Dump Manager
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c 'mkdir -p {BMC_DUMP_PATH}'
|
||||
ExecStart=/usr/bin/env phosphor-dump-manager
|
||||
SyslogIdentifier=phosphor-dump-manager
|
||||
Restart=always
|
||||
Type=dbus
|
||||
BusName={BUSNAME}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user