Ok, I have a solution that worked for me.
nano /etc/systemd/system/postgresql-9.3.service
with content copied from / usr / lib / systemd / system / postgresql -9.3.service and the PGDATA variable. Then
systemctl daemon-reload
And then I started the service normally, and it worked fine. The trick made changes to this service configuration file.
source share