diff --git a/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec b/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec index 6c416c7e9..9416e92f5 100644 --- a/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec +++ b/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec @@ -363,7 +363,7 @@ EOF NEW_CONF_DIGEST=$(sha256sum "%{pgsql_conf}" | awk '{ print $1 }') # Change TimeoutSec to 5 sec to allow postgres to start for Oracle 8 -%if 0%{ol8} +%if 0%{?ol8} sed -i -e 's/^TimeoutSec=0$/TimeoutSec=5/' '%{_unitdir}/postgresql.service' systemctl daemon-reload %endif