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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user