summaryrefslogtreecommitdiff
path: root/contrib/exchange-bmc-os-info.service.redhat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/exchange-bmc-os-info.service.redhat')
-rw-r--r--contrib/exchange-bmc-os-info.service.redhat5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/exchange-bmc-os-info.service.redhat b/contrib/exchange-bmc-os-info.service.redhat
index 100493b..eb28ffe 100644
--- a/contrib/exchange-bmc-os-info.service.redhat
+++ b/contrib/exchange-bmc-os-info.service.redhat
@@ -1,7 +1,8 @@
[Unit]
Description=Exchange Information between BMC and OS
-After=ipmi.service network.target
-Requires=ipmi.service
+After=network.target
+AssertFileIsExecutable=/usr/bin/ipmitool
+AssertPathExistsGlob=/dev/ipmi*
[Service]
Type=oneshot