From 8180f353553fc60173fb38c5d3997b3b0b9e6c61 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 18 Nov 2022 23:17:33 +0700 Subject: [PATCH] add restart parameter --- slcp.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slcp.service b/slcp.service index 6225531..c43c67e 100644 --- a/slcp.service +++ b/slcp.service @@ -6,6 +6,8 @@ After=multi-user.target Type=simple WorkingDirectory=/slcp ExecStart=/slcp/jumpstart.sh +Restart=on-failure +RestartSec=5s [Install] WantedBy=multi-user.target \ No newline at end of file