mirror of https://github.com/gogs/gogs.git
fix(systemd script): define RestartSec as 2 (#7733)
parent
1eae0b2fce
commit
6f9b63517d
|
@ -17,6 +17,7 @@ Group=git
|
||||||
WorkingDirectory=/home/git/gogs
|
WorkingDirectory=/home/git/gogs
|
||||||
ExecStart=/home/git/gogs/gogs web
|
ExecStart=/home/git/gogs/gogs web
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=2s
|
||||||
Environment=USER=git HOME=/home/git
|
Environment=USER=git HOME=/home/git
|
||||||
|
|
||||||
# Some distributions may not support these hardening directives. If you cannot start the service due
|
# Some distributions may not support these hardening directives. If you cannot start the service due
|
||||||
|
|
Loading…
Reference in New Issue