6 Commits

Author SHA1 Message Date
7b292d218b ci: change owner
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 26s
2026-04-19 13:14:16 +02:00
25b9b02df2 fix: setup command
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 26s
2026-04-04 07:34:12 +02:00
2c39bf1158 fix: check file in PGDATA
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 31s
2026-04-04 07:25:38 +02:00
36d936f5de fix: add init cluster
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 39s
2026-04-04 07:20:48 +02:00
277a540d94 doc: add search in dnf command 2026-04-04 07:05:28 +02:00
b9accfedd2 doc: remove env file from readme 2026-03-08 23:09:15 +01:00
3 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ NAME = netoik-db
VERSION = $(shell git describe --abbrev=0)
RELEASE = $(shell git rev-parse --short HEAD)
ARCH = noarch
OWNER = samuel
OWNER = netoik
SUMMARY = "Netoïk Database Management System"
LICENSE = "MIT"
URL = "https://git.netoik.io/$(OWNER)/$(NAME)"

View File

@@ -63,15 +63,12 @@ Some commands to deploy the RPM package on server
- Show available versions:
```shell
dnf --showduplicates netoik-db
dnf search --showduplicates netoik-db
```
- Install or upgrade package:
```shell
set -a
source ~/.netoik-db.env
dnf --nogpgcheck --refresh --assumeyes --best install netoik-db
set +a
```

View File

@@ -25,6 +25,9 @@ Install the database management system called postgresql with a predefined confi
# Create sock directory if not existing
chown postgres:postgres "%{_rundir}/postgresql"
# Init cluster if necessary
runuser --user=postgres -- [ -f $PGDATA/PG_VERSION ] || postgresql-setup --initdb
# Restart services
systemctl daemon-reload
systemctl reenable postgresql.service