Re: Service not starting on Ubuntu 15.04

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Lasse Westh-Nielsen <lassewesth(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Service not starting on Ubuntu 15.04
Date: 2015-10-26 14:57:06
Message-ID: 562E3F42.5090909@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/26/2015 07:08 AM, Lasse Westh-Nielsen wrote:
> Adrian,
>
> Thanks. I know about the systemd change, and indeed the postgres package
> I end up with _has_ systemd integration already:
>
> $ cat /etc/systemd/system/multi-user.target.wants/postgresql.service
> # systemd service for managing all PostgreSQL clusters on the
> system. This
> # service is actually a systemd target, but we are using a service since
> # targets cannot be reloaded.
>
> [Unit]
> Description=PostgreSQL RDBMS
>
> [Service]
> Type=oneshot
> ExecStart=/bin/true
> ExecReload=/bin/true
> RemainAfterExit=on
>
> [Install]
> WantedBy=multi-user.target

The thing above the above is I do not see anything that starts Postgres.

Are you sure the same script is being called in cloud-init and outside
of it?

Or more to the point, what script actually starts Postgres?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lasse Westh-Nielsen 2015-10-26 15:04:46 Re: Service not starting on Ubuntu 15.04
Previous Message Thomas Kellerer 2015-10-26 14:54:29 Re: Recursive Arrays 101