roles/gitea: Install from upstream binary
I seem to have forgotten how I got the RPM for Gitea. I think I built it, but I cannot find the spec file, nor the RPM package. Since this is clearly not reproducible, I decided to switch to using the binary provided by upstream for now, until either I or Fedora get around to making a better RPM. Installing Gitea from the upstream binary is simple: just download it and copy it to `/usr/local/bin`. Of course, the OS user and systemd unit have to be managed by configuration policy when it's installed this way.
This commit is contained in:
1
roles/gitea/files/.gitignore
vendored
Normal file
1
roles/gitea/files/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
gitea-*-linux-*
|
||||
13
roles/gitea/files/gitea.service
Normal file
13
roles/gitea/files/gitea.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Gitea - Git with a cup of tea
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gitea
|
||||
Environment=GITEA_CONFIG=/etc/gitea/app.ini
|
||||
Environment=HOME=/var/lib/gitea
|
||||
EnvironmentFile=-/etc/sysconfig/gitea
|
||||
ExecStart=/usr/local/bin/gitea web -c ${GITEA_CONFIG}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user