mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-09-10 00:41:32 +02:00
[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 (cherry picked from commitc127369bba
) (cherry picked from commit883a7eb570
) (cherry picked from commit4dfa4c7d21
) (cherry picked from commit961163d010
) (cherry picked from commit6a05812628
) (cherry picked from commit112c419f0b
) (cherry picked from commitf3cd60dee7
) (cherry picked from commit6fccc6bf0b
) (cherry picked from commit556862de70
) (cherry picked from commiteb8e2880f7
) (cherry picked from commit264d85330c
) (cherry picked from commit083e66a2b6
) (cherry picked from commitc1385bca55
) (cherry picked from commitd61930730d
) (cherry picked from commitcfc815254f
) (cherry picked from commit613192ae64
) (cherry picked from commitbf830a0dab
) (cherry picked from commit448ab09c56
) (cherry picked from commitfb3e99edfd
) (cherry picked from commiteec550a9a4
) (cherry picked from commita0ecc33160
) (cherry picked from commitb4e8f10a4f
) (cherry picked from commit2f3d010355
) (cherry picked from commit2f25e544d7
) (cherry picked from commitd76ca04f68
) (cherry picked from commitf349518002
) (cherry picked from commit3b926245cc
) (cherry picked from commitdd7be902a2
) (cherry picked from commitc0b6e6bfd6
) (cherry picked from commit5a63bf3e6a
)
This commit is contained in:
parent
7aa72a9b4f
commit
7ecdefc11b
|
@ -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
|
# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that
|
||||||
# LimitNOFILE=524288:524288
|
# LimitNOFILE=524288:524288
|
||||||
RestartSec=2s
|
RestartSec=2s
|
||||||
Type=notify
|
Type=simple
|
||||||
User=git
|
User=git
|
||||||
Group=git
|
Group=git
|
||||||
WorkingDirectory=/var/lib/forgejo/
|
WorkingDirectory=/var/lib/forgejo/
|
||||||
|
|
Loading…
Reference in a new issue