aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>2017-03-08 15:05:28 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-24 13:31:13 +1100
commit461d410dee0dc5e5deac948ebdcc4ec75eefe682 (patch)
treea9e50bb0c9d0ea28d89fdcfc55b165918471cbbd
parent034d545b1503bf3980c290c361ed1a99ce9d308d (diff)
downloadskiboot-461d410dee0dc5e5deac948ebdcc4ec75eefe682.zip
skiboot-461d410dee0dc5e5deac948ebdcc4ec75eefe682.tar.gz
skiboot-461d410dee0dc5e5deac948ebdcc4ec75eefe682.tar.bz2
opal-prd: Direct systemd to always restart opal-prd
Always restart the opal-prd daemon, irrespective of why it stopped. Signed-off-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--external/opal-prd/opal-prd.service1
1 files changed, 1 insertions, 0 deletions
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