mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
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:
parent
9a5d9397a4
commit
d2a7fc1458
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
|
# 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=simple
|
Type=notify
|
||||||
User=git
|
User=git
|
||||||
Group=git
|
Group=git
|
||||||
WorkingDirectory=/var/lib/forgejo/
|
WorkingDirectory=/var/lib/forgejo/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue