I myself noticed that if a client is still connected to the DB server, then PgSQL won't restart. Are you sure all your clients are/were disconnected? I myself have the DB on remote a virtual machine.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных