From ac5a23350dc5a4dab223464021cf51d894a0d8b7 Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 22 Feb 2026 22:57:20 +0100 Subject: [PATCH] fix: add systemctl restart --- netoik-db.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netoik-db.spec b/netoik-db.spec index 1156d8e..9703ea9 100644 --- a/netoik-db.spec +++ b/netoik-db.spec @@ -24,7 +24,8 @@ Install the database management system called postgresql with a predefined confi %post # Restart services systemctl daemon-reload -systemctl reenable --now postgresql.service +systemctl reenable postgresql.service +systemctl restart postgresql.service # Create databases and users from DB_USERS variable (separator is ",") if not existing IFS="," read -ra users <<< "$DB_USERS";