Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

6 anos atrás
123456789101112131415161718192021222324252627
  1. [Unit]
  2. Description=Gitea (Git with a cup of tea)
  3. After=syslog.target
  4. After=network.target
  5. #After=mysqld.service
  6. #After=postgresql.service
  7. #After=memcached.service
  8. #After=redis.service
  9. [Service]
  10. # Modify these two values and uncomment them if you have
  11. # repos with lots of files and get an HTTP error 500 because
  12. # of that
  13. ###
  14. #LimitMEMLOCK=infinity
  15. #LimitNOFILE=65535
  16. RestartSec=2s
  17. Type=simple
  18. User=git
  19. Group=git
  20. WorkingDirectory=~
  21. ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
  22. Restart=always
  23. Environment=USER=git HOME=/srv/git GITEA_WORK_DIR=/var/lib/gitea
  24. [Install]
  25. WantedBy=multi-user.target