Christoph Berg wrote:

> Re: Erik de Castro Lopo 2014-08-11 
> <[email protected]>
> > 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/

_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to