[Skiboot] [PATCH] opal-prd: Direct systemd to always restart opal-prd

Ananth N Mavinakayanahalli ananth at linux.vnet.ibm.com
Wed Mar 8 20:35:28 AEDT 2017


Always restart the opal-prd daemon, irrespective of why it stopped.

Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
---

V2: Add Signed-off-by
---
 external/opal-prd/opal-prd.service |    1 +
 1 file changed, 1 insertion(+)

diff --git a/external/opal-prd/opal-prd.service b/external/opal-prd/opal-prd.service
index 9956912..a53d8d9 100644
--- a/external/opal-prd/opal-prd.service
+++ b/external/opal-prd/opal-prd.service
@@ -5,6 +5,7 @@ ConditionPathExists=/sys/firmware/devicetree/base/ibm,opal/diagnostics
 
 [Service]
 ExecStart=/usr/sbin/opal-prd --pnor /dev/mtd0
+Restart=always
 
 [Install]
 WantedBy=multi-user.target



More information about the Skiboot mailing list