[BRANDING] systemd service Type=simple

The problem is Type=notify - when that is set, systemd waits for a
signal from the service that it's ready so systemctl start forgejo
takes forever (or until it runs into a timeout).

Refs: https://codeberg.org/forgejo/forgejo/issues/777
This commit is contained in:
Earl Warren 2023-05-27 08:13:00 +02:00
parent 1f30566c3f
commit c127369bba
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -52,7 +52,7 @@ After=network.target
# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that
# LimitNOFILE=524288:524288
RestartSec=2s
Type=notify
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/forgejo/