bash-profile fix for imagemode
Add .bash_profile creation via tmpfiles.d to support container/imagemode deployments where the file is not persisted from RPM installation.
This commit is contained in:
parent
f42bc9c9a1
commit
01cee7095c
@ -549,6 +549,7 @@ EOF
|
||||
|
||||
cat > postgresql18.tmpfiles.conf <<EOF
|
||||
d /var/lib/pgsql 0700 postgres postgres -
|
||||
f /var/lib/pgsql/.bash_profile 0644 postgres postgres - "[ -f /etc/profile ] && source /etc/profile\nPGDATA=/var/lib/pgsql/data\nexport PGDATA"
|
||||
EOF
|
||||
|
||||
%build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user