diff options
author | William Mantly Jr <wmantly@gmail.com> | 2017-11-20 18:37:23 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-21 01:37:23 +0200 |
commit | e4f96c60cda6bd9e6ce1f65f63ca1d226bd8b6a7 (patch) | |
tree | 918e0f1f339f21f6d875b6db8eb7b00065622cf7 /contrib/systemd | |
parent | 7e6c198f21ba2696954310184f384fee7c277575 (diff) | |
download | gitea-e4f96c60cda6bd9e6ce1f65f63ca1d226bd8b6a7.tar.gz gitea-e4f96c60cda6bd9e6ce1f65f63ca1d226bd8b6a7.zip |
App restarts to quickly if it fails to start. (#2945)
Diffstat (limited to 'contrib/systemd')
-rw-r--r-- | contrib/systemd/gitea.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/gitea.service b/contrib/systemd/gitea.service index 758f1590f1..7c09fa3213 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 |