From 5b5d3af0f18ae728f0f0cfa059ddab9fea0533a7 Mon Sep 17 00:00:00 2001 From: bkbilly Date: Sun, 28 Apr 2024 16:11:19 +0300 Subject: [PATCH] Fix systemd service --- lnxlink/consts.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lnxlink/consts.py b/lnxlink/consts.py index 7d86aaf..78de6f3 100644 --- a/lnxlink/consts.py +++ b/lnxlink/consts.py @@ -7,8 +7,7 @@ [Service] Type=simple Restart=always -StartLimitIntervalSec=300 -StartLimitBurst=1 +RestartSec=5 User=root ExecStart={exec_cmd} @@ -25,8 +24,7 @@ [Service] Type=simple Restart=always -StartLimitIntervalSec=300 -StartLimitBurst=1 +RestartSec=5 ExecStart={exec_cmd}