From 6aae35d592388924f5ab92db90912a1b7962d665 Mon Sep 17 00:00:00 2001
From: gaoruoshu <gaoruoshu@huawei.com>
Date: Wed, 16 Aug 2023 10:26:19 +0800
Subject: [PATCH] [atune]add service restart mode

---
 misc/atuned.service | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/atuned.service b/misc/atuned.service
index bc5de9b..58fb022 100644
--- a/misc/atuned.service
+++ b/misc/atuned.service
@@ -7,6 +7,9 @@ Requires=polkit.service
 Type=notify
 ExecStart=/usr/bin/atuned
 SuccessExitStatus=100
+Restart=on-failure
+RestartSec=3s
+TimeoutSec=1m
 
 [Install]
 WantedBy=multi-user.target
-- 
2.27.0

