[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)
(cherry picked from commit e095388aae)
(cherry picked from commit 965e4d30e8)
(cherry picked from commit e8102ae74a)
(cherry picked from commit 2aeda925e0)
(cherry picked from commit b63ed10c1b)
(cherry picked from commit b1e480b743)
(cherry picked from commit edaa8b8445)
(cherry picked from commit 276c1623e9)
(cherry picked from commit 7206822502)
(cherry picked from commit 349e8f80fb)
This commit is contained in:
Earl Warren 2023-06-09 17:49:15 +02:00
parent 32f7896c8a
commit aee6765e26
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