[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 commitace05fd6a7
) (cherry picked from commit2536140d72
) (cherry picked from commitce79f05e76
) (cherry picked from commit987df8acf4
)
This commit is contained in:
parent
94e51ee93a
commit
3039e6c753
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue