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
[Service]
LimitMEMLOCK=infinity
LimitNOFILE=65535
# Modify these two values and uncomment them if you have
# repos with lots of files and get an HTTP error 500 because
# of that
###
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
Type=simple
User=git
Group=git

Loading…
Cancel
Save