2 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
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ NAME = netoik-db
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 Database Management System" SUMMARY = "Netoïk Database Management System"
LICENSE = "MIT" LICENSE = "MIT"
URL = "https://git.netoik.io/$(OWNER)/$(NAME)" URL = "https://git.netoik.io/$(OWNER)/$(NAME)"

View File

@@ -26,7 +26,7 @@ Install the database management system called postgresql with a predefined confi
chown postgres:postgres "%{_rundir}/postgresql" chown postgres:postgres "%{_rundir}/postgresql"
# Init cluster if necessary # Init cluster if necessary
runuser --user=postgres -- if [ ! -f $PGDATA/PG_VERSION ]; then postgresql-setup --initdb; fi runuser --user=postgres -- [ -f $PGDATA/PG_VERSION ] || postgresql-setup --initdb
# Restart services # Restart services
systemctl daemon-reload systemctl daemon-reload