fix: add run postgresql folder to rpmspec files
This commit is contained in:
@@ -23,7 +23,6 @@ Install the database management system called postgresql with a predefined confi
|
||||
|
||||
%post
|
||||
# Create sock directory if not existing
|
||||
mkdir --parents --mode 755 "%{_rundir}/postgresql"
|
||||
chown postgres:postgres "%{_rundir}/postgresql"
|
||||
|
||||
# Restart services
|
||||
@@ -39,5 +38,7 @@ systemctl restart postgresql.service
|
||||
%dir %attr(755, root, root) %{_unitdir}/postgresql.service.d
|
||||
%attr(644, root, root) %{_unitdir}/postgresql.service.d/postgres.conf
|
||||
|
||||
%dir %attr(755, -, -) %{_rundir}/postgresql
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
Reference in New Issue
Block a user