attn: Make restart after fail more restrictive

Override the default service restart after fail behavior. The current
behavior is maximum of two failures within 30 seconds before the
attention handler is considered failed. The new behavior is maximum of
two failures within 10 minutes before the attention handler is
considered failed. This avoids a potential endless fail and restart
loop due to analyses possibly taking longer than 15 seconds during which
time the attention handler could potentially crash, avoiding the current
30 second fail time window. The 10 minute value is an arbitrarily
large value as we expect the cause of the attention handler crash to
immediately go away or not at all.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Ia3a6e9ee849733655273f3a82c4fbef46c808525
diff --git a/attn/attn_handler.service.in b/attn/attn_handler.service.in
index b100a34..ce2166c 100644
--- a/attn/attn_handler.service.in
+++ b/attn/attn_handler.service.in
@@ -8,6 +8,7 @@
 After=cfam_override@0.service
 Conflicts=obmc-host-stop@0.target
 Conflicts=obmc-host-timeout@0.target
+StartLimitIntervalSec=600
 
 [Service]
 @ENABLE_PHAL_TRUE@Environment="PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE"