[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)
(cherry picked from commit f3870ed880)
(cherry picked from commit 4d14ded611)
(cherry picked from commit 07c4ac8a33)
(cherry picked from commit f5b206fa80)
(cherry picked from commit f078734a9a)
(cherry picked from commit 37de4c1d54)
(cherry picked from commit a2c1566131)
This commit is contained in:
Earl Warren 2023-06-09 17:49:15 +02:00
parent 7f8b93e5dc
commit 948265fbc3
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