fix: chown sock directory
This commit is contained in:
@@ -23,7 +23,8 @@ Install the database management system called postgresql with a predefined confi
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
# Create sock directory if not existing
|
# Create sock directory if not existing
|
||||||
mkdir --parents "%{_rundir}/postgresql"
|
mkdir --parents --mode 755 "%{_rundir}/postgresql"
|
||||||
|
chown postgres:postgres "%{_rundir}/postgresql"
|
||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|||||||
Reference in New Issue
Block a user