Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bd91ef624 | |||
| d7e1d71dbf | |||
| 9d544a7645 | |||
| e48a882b46 | |||
| 29e097bb8b | |||
| 52eb7159ef |
4
Makefile
4
Makefile
@@ -2,7 +2,7 @@ NAME = netoik-cache
|
||||
VERSION = $(shell git describe --abbrev=0)
|
||||
RELEASE = $(shell git rev-parse --short HEAD)
|
||||
ARCH = noarch
|
||||
OWNER = samuel
|
||||
OWNER = netoik
|
||||
SUMMARY = "Netoïk Cache Server"
|
||||
LICENSE = "MIT"
|
||||
URL = "https://git.netoik.io/$(OWNER)/$(NAME)"
|
||||
@@ -75,7 +75,7 @@ install: ## Install files into rpm dest (requires env var DESTDIR)
|
||||
fi
|
||||
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_UNITDIR) files/systemd/valkey.conf
|
||||
install --mode=644 --target-directory=$(DESTDIR)$(RPM_UNITDIR)/valkey.service.d files/systemd/valkey.conf
|
||||
|
||||
.PHONY: upload
|
||||
upload: ## Upload rpm package to Gitea repository (requires env var PKG_TOKEN)
|
||||
|
||||
10
README.md
10
README.md
@@ -1,4 +1,4 @@
|
||||
# Netoïk cache server 
|
||||
# Netoïk cache server 
|
||||
|
||||
Build an RPM package which will install a Cache server:
|
||||
|
||||
@@ -59,18 +59,18 @@ Some commands to deploy the RPM package on server
|
||||
|
||||
- Add Gitea repo to your repo list:
|
||||
```shell
|
||||
dnf config-manager --add-repo https://git.netoik.io/api/packages/samuel/rpm.repo
|
||||
dnf repolist | grep gitea-samuel
|
||||
dnf config-manager --add-repo https://git.netoik.io/api/packages/netoik/rpm.repo
|
||||
dnf repolist | grep gitea-netoik
|
||||
```
|
||||
|
||||
- Show available versions:
|
||||
```shell
|
||||
dnf --showduplicates netoik-cache
|
||||
dnf search --showduplicates netoik-cache
|
||||
```
|
||||
|
||||
- Install or upgrade package:
|
||||
```shell
|
||||
dnf --nogpgcheck --refresh --assumeyes --best install netoik-rp
|
||||
dnf --nogpgcheck --refresh --assumeyes --best install netoik-cache
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ port 0
|
||||
# on a unix socket when not specified.
|
||||
#
|
||||
unixsocket /run/valkey/valkey.sock
|
||||
unixsocketperm 770
|
||||
|
||||
# Specify the log file name. Also the empty string can be used to force
|
||||
# the server to log on the standard output. Note that if you use standard
|
||||
|
||||
Reference in New Issue
Block a user