Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d544a7645 | |||
| e48a882b46 | |||
| 29e097bb8b | |||
| 52eb7159ef |
4
Makefile
4
Makefile
@@ -2,7 +2,7 @@ NAME = netoik-cache
|
|||||||
VERSION = $(shell git describe --abbrev=0)
|
VERSION = $(shell git describe --abbrev=0)
|
||||||
RELEASE = $(shell git rev-parse --short HEAD)
|
RELEASE = $(shell git rev-parse --short HEAD)
|
||||||
ARCH = noarch
|
ARCH = noarch
|
||||||
OWNER = samuel
|
OWNER = netoik
|
||||||
SUMMARY = "Netoïk Cache Server"
|
SUMMARY = "Netoïk Cache Server"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
URL = "https://git.netoik.io/$(OWNER)/$(NAME)"
|
URL = "https://git.netoik.io/$(OWNER)/$(NAME)"
|
||||||
@@ -75,7 +75,7 @@ install: ## Install files into rpm dest (requires env var DESTDIR)
|
|||||||
fi
|
fi
|
||||||
install --mode=755 --directory $(DESTDIR)$(RPM_SYSCONFDIR)/valkey $(DESTDIR)$(RPM_UNITDIR)/valkey.service.d
|
install --mode=755 --directory $(DESTDIR)$(RPM_SYSCONFDIR)/valkey $(DESTDIR)$(RPM_UNITDIR)/valkey.service.d
|
||||||
install --mode=644 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/valkey files/valkey/netoik_valkey.conf
|
install --mode=644 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/valkey files/valkey/netoik_valkey.conf
|
||||||
install --mode=644 --target-directory=$(DESTDIR)$(RPM_UNITDIR) files/systemd/valkey.conf
|
install --mode=644 --target-directory=$(DESTDIR)$(RPM_UNITDIR)/valkey.service.d files/systemd/valkey.conf
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ## Upload rpm package to Gitea repository (requires env var PKG_TOKEN)
|
upload: ## Upload rpm package to Gitea repository (requires env var PKG_TOKEN)
|
||||||
|
|||||||
@@ -65,12 +65,12 @@ Some commands to deploy the RPM package on server
|
|||||||
|
|
||||||
- Show available versions:
|
- Show available versions:
|
||||||
```shell
|
```shell
|
||||||
dnf --showduplicates netoik-cache
|
dnf search --showduplicates netoik-cache
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install or upgrade package:
|
- Install or upgrade package:
|
||||||
```shell
|
```shell
|
||||||
dnf --nogpgcheck --refresh --assumeyes --best install netoik-rp
|
dnf --nogpgcheck --refresh --assumeyes --best install netoik-cache
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user