[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 794aa9dbc8)
(cherry picked from commit f4d3bfbc0d)
(cherry picked from commit b48faeaf29)
(cherry picked from commit 150c44c903)
(cherry picked from commit f1b4bc7c90)
(cherry picked from commit e1ef3c5a71)
(cherry picked from commit 84399c24e0)
(cherry picked from commit 8242651ab3)
(cherry picked from commit 97a13e6a26)
(cherry picked from commit 2b00b6477b)
This commit is contained in:
Earl Warren 2023-06-09 17:49:15 +02:00
parent cfc815254f
commit f3870ed880
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