OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=85
This commit is contained in:
@@ -8,9 +8,9 @@ After=network.target
|
||||
Type=forking
|
||||
User=postgres
|
||||
EnvironmentFile=-/etc/sysconfig/postgresql
|
||||
ExecStart=/usr/lib/postgresql-init start
|
||||
ExecStop=/usr/lib/postgresql-init stop
|
||||
ExecReload=/usr/lib/postgresql-init reload
|
||||
ExecStart=/usr/lib/postgresql-script start
|
||||
ExecStop=/usr/lib/postgresql-script stop
|
||||
ExecReload=/usr/lib/postgresql-script reload
|
||||
|
||||
# The server might be slow to stop, and that's fine. Don't kill it
|
||||
SendSIGKILL=no
|
||||
|
@@ -41,6 +41,7 @@ Source2: postgresql-firewall
|
||||
Source3: postgresql-tmpfiles.conf
|
||||
Source4: postgresql.service
|
||||
Source5: postgresql-bashprofile
|
||||
Source6: postgresql-script
|
||||
|
||||
%if 0%{?suse_version} > 1100
|
||||
%define fwdir /etc/sysconfig/SuSEfirewall2.d/services
|
||||
@@ -215,7 +216,7 @@ install -m755 -d %buildroot/%_tmpfilesdir
|
||||
install -m644 %{S:3} %buildroot%_tmpfilesdir/postgresql.conf
|
||||
|
||||
install -m755 -d %buildroot/usr/lib
|
||||
install -m755 %{S:0} %buildroot/usr/lib
|
||||
install -m755 %{S:6} %buildroot/usr/lib
|
||||
|
||||
install -m755 -d %buildroot%_unitdir
|
||||
install -m444 %{S:4} %buildroot%_unitdir
|
||||
|
Reference in New Issue
Block a user