From d2a7fc1458ecf6a74c8380cf069d994afa6e0db7 Mon Sep 17 00:00:00 2001 From: Stefan Gehn Date: Sun, 10 May 2026 00:39:51 +0200 Subject: [PATCH] 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 --- contrib/systemd/forgejo.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/systemd/forgejo.service b/contrib/systemd/forgejo.service index ee019e11ea..36dc2a3a5b 100644 --- a/contrib/systemd/forgejo.service +++ b/contrib/systemd/forgejo.service @@ -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/