www-apps/gitea: Add ebuild for version 1.5.0.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
parent
6a7642b4ca
commit
23ffbe2749
9 changed files with 149 additions and 0 deletions
26
www-apps/gitea/files/gitea.service
Normal file
26
www-apps/gitea/files/gitea.service
Normal file
|
@ -0,0 +1,26 @@
|
|||
[Unit]
|
||||
Description=Gitea service
|
||||
Documentation=https://gitea.io
|
||||
|
||||
AssertPathIsDirectory=/var/lib/gitea
|
||||
AssertPathIsReadWrite=/var/lib/gitea
|
||||
|
||||
After=network.target
|
||||
Requires=network.target
|
||||
After=mysqld.service
|
||||
Requires=mysqld.service
|
||||
|
||||
[Service]
|
||||
User=git
|
||||
Group=git
|
||||
|
||||
Environment="GITEA_CUSTOM=/var/lib/gitea"
|
||||
WorkingDirectory=/var/lib/gitea
|
||||
ExecStart=/usr/bin/gitea web -c /var/lib/gitea/conf/app.ini
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=true
|
||||
Nice=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue