App restarts to quickly if it fails to start. (#2945)

tokarchuk/v1.17
William Mantly Jr 7 years ago committed by Lauris BH
parent 7e6c198f21
commit e4f96c60cd
  1. 1
      contrib/systemd/gitea.service

@ -14,6 +14,7 @@ After=network.target
### ###
#LimitMEMLOCK=infinity #LimitMEMLOCK=infinity
#LimitNOFILE=65535 #LimitNOFILE=65535
RestartSec=2s
Type=simple Type=simple
User=git User=git
Group=git Group=git

Loading…
Cancel
Save