fix: add systemctl restart
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user