[Pkg-postgresql-public] Bug#755894: systemd does not start postgresql
Erik de Castro Lopo
erikd at mega-nerd.com
Tue Aug 12 03:09:37 UTC 2014
Christoph Berg wrote:
> Re: Erik de Castro Lopo 2014-08-11 <20140811205417.510fba1b4dc7f225953289ec at mega-nerd.com>
> > It seems systemctl doesn't know how do find the status of the postgresql
> > daemon. Turns out the systemd service file for postgresql is complete
> > rubbish:
> >
> > # 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
> >
> > This is obviously wrong.
>
> You obviously didn't read the comments there.
Oh, I read them but they made close to zero sense to me and were vastly
different from the postgresql.service files I'd found elsewehere on
the 'net, like the one here:
https://bbs.archlinux.org/viewtopic.php?pid=1165363#p1165363
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Pkg-postgresql-public
mailing list