mirror of
https://github.com/gogs/gogs.git
synced 2026-02-26 16:20:59 +01:00
fix(systemd script): define RestartSec as 2 (#7733)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user