Starting migration from gogs to gitea

Gitea is a more trustable project.
This commit is contained in:
2018-10-30 14:50:33 +01:00
parent 40547fc477
commit 7ef72a70df
14 changed files with 303 additions and 167 deletions

25
systemd/forge.service Normal file
View File

@ -0,0 +1,25 @@
[Unit]
Description=Forge Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
After=mysqld.service
After=postgresql.service
After=memcached.service
After=redis.service
[Service]
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
RestartSec=2s
Type=simple
User=git
Group=gitservice
WorkingDirectory=/srv/forge/gitea/bin/gitea
ExecStart=/srv/forge/gitea/bin/gitea/gitea web
Restart=always
Environment=USER=git HOME=/srv/forge/git
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
#AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target