Skip to content

Commit

Permalink
fix(systemd script): define RestartSec as 2 (#7733)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxshin committed Apr 30, 2024
1 parent 1eae0b2 commit 6f9b635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/systemd/gogs.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f9b635

Please sign in to comment.