From e4f96c60cda6bd9e6ce1f65f63ca1d226bd8b6a7 Mon Sep 17 00:00:00 2001 From: William Mantly Jr Date: Mon, 20 Nov 2017 18:37:23 -0500 Subject: [PATCH] App restarts to quickly if it fails to start. (#2945) --- contrib/systemd/gitea.service | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/systemd/gitea.service b/contrib/systemd/gitea.service index 758f1590f..7c09fa321 100644 --- a/contrib/systemd/gitea.service +++ b/contrib/systemd/gitea.service @@ -14,6 +14,7 @@ After=network.target ### #LimitMEMLOCK=infinity #LimitNOFILE=65535 +RestartSec=2s Type=simple User=git Group=git