Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-27 20:26:09 +01:00

[BRANDING] systemd service trim WatchdogSec=30s

Refs: https://codeberg.org/forgejo/forgejo/issues/777
(cherry picked from commit 11b646dc6a)
(cherry picked from commit e37847b9e6)
(cherry picked from commit 3af3a40009)
(cherry picked from commit a0004e95d8)
(cherry picked from commit 8a156cd22b)
(cherry picked from commit 49dfaff057)
This commit is contained in:
Earl Warren 2023-06-09 17:49:15 +02:00
parent 3039e6c753
commit 0fb94b96b8
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -62,7 +62,6 @@ WorkingDirectory=/var/lib/forgejo/
ExecStart=/usr/local/bin/forgejo web --config /etc/forgejo/app.ini ExecStart=/usr/local/bin/forgejo web --config /etc/forgejo/app.ini
Restart=always Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/forgejo Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/forgejo
WatchdogSec=30s
# If you install Git to directory prefix other than default PATH (which happens # If you install Git to directory prefix other than default PATH (which happens
# for example if you install other versions of Git side-to-side with # for example if you install other versions of Git side-to-side with
# distribution version), uncomment below line and add that prefix to PATH # distribution version), uncomment below line and add that prefix to PATH