fix: Use notify in systemd forgejo.service example [skip-ci] (#10212)

Use notify as systemd service in the example configuration.
Notifying systemd on successful startup is supported since
Forgejo 1.20.0 already.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10212
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Stefan Gehn 2026-05-10 00:39:51 +02:00 committed by Gusted
parent 9a5d9397a4
commit d2a7fc1458

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=simple
Type=notify
User=git
Group=git
WorkingDirectory=/var/lib/forgejo/