gogs.service 334 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Gogs (Go Git Service) server
  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. Type=simple
  11. User=git
  12. Group=git
  13. ExecStart=/home/git/gogs/gogs/start.sh
  14. WorkingDirectory=/home/git/gogs
  15. [Install]
  16. WantedBy=multi-user.target