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.
12 lines
196 B
YAML
12 lines
196 B
YAML
- name: reload systemd
|
|
command:
|
|
systemctl daemon-reload
|
|
- name: reload httpd
|
|
service:
|
|
name=httpd
|
|
state=reloaded
|
|
- name: restart gitea
|
|
service:
|
|
name=gitea
|
|
state=restarted
|