fix(systemd script): define RestartSec as 2 (#7733)

pull/7734/head
Jiaxin Zhu 2024-04-30 21:15:34 +08:00 committed by GitHub
parent 1eae0b2fce
commit 6f9b63517d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Group=git
WorkingDirectory=/home/git/gogs
ExecStart=/home/git/gogs/gogs web
Restart=always
RestartSec=2s
Environment=USER=git HOME=/home/git
# Some distributions may not support these hardening directives. If you cannot start the service due