diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2018-09-18 12:12:05 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-25 00:34:57 +0300 |
commit | ad032d7126c95e248a3a0c32f38ab41b7abc152f (patch) | |
tree | f7febd856944ea17a3e385097de0339c1a14253c /meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host | |
parent | a689c3b2a9158c9774e00d56710f8925833f0291 (diff) | |
download | openbmc-ad032d7126c95e248a3a0c32f38ab41b7abc152f.tar.xz |
Create ipmi folder under /run and /var/lib.
It will be easier to manage, if all ipmi related
configurations are stored under ipmi folder. So,
make sure that /run/ipmi (volatile) & /var/lib/ipmi
(non-volatile) exists before starting the service.
(From meta-phosphor rev: 8debf3aed29b2c75cffc59bd9fc79afc1ca3be5c)
Change-Id: I2cd90d243ccdd0e93fb7e6873a323c6b243adbe2
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host')
-rw-r--r-- | meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service index 3f10e11db..ef24bd016 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service @@ -16,6 +16,9 @@ After=clear-once.service Restart=always ExecStart=/usr/bin/env ipmid SyslogIdentifier=ipmid +RuntimeDirectory = ipmi +RuntimeDirectoryPreserve = yes +StateDirectory = ipmi [Install] WantedBy={SYSTEMD_DEFAULT_TARGET} |