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

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Mar 9 02:26:41 AEDT 2017


On 03/08/2017 03:05 PM, Ananth N Mavinakayanahalli wrote:
> Always restart the opal-prd daemon, irrespective of why it stopped.

[CCed Rafael who fixed service script earlier]


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

Looks good to me .

Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

-Vasant


> ---
>
> 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
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
>



More information about the Skiboot mailing list