Browse Source

Better explanation of systemd settings

pull/2388/head
Simon Szustkowski 9 years ago
parent
commit
2762c4b0c1
  1. 8
      scripts/systemd/gogs.service

8
scripts/systemd/gogs.service

@ -8,8 +8,12 @@ After=network.target
#After=redis.service #After=redis.service
[Service] [Service]
LimitMEMLOCK=infinity # Modify these two values and uncomment them if you have
LimitNOFILE=65535 # repos with lots of files and get an HTTP error 500 because
# of that
###
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
Type=simple Type=simple
User=git User=git
Group=git Group=git

Loading…
Cancel
Save