fix: add systemctl restart

This commit is contained in:
2026-02-22 22:57:20 +01:00
parent 5870da6249
commit 7f47231858

View File

@@ -24,7 +24,8 @@ Install the database management system called postgresql with a predefined confi
%post %post
# Restart services # Restart services
systemctl daemon-reload 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 # Create databases and users from DB_USERS variable (separator is ",") if not existing
IFS="," read -ra users <<< "$DB_USERS"; IFS="," read -ra users <<< "$DB_USERS";