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

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


Always restart the opal-prd daemon, irrespective of why it stopped.
---
 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