[Pkg-postgresql-public] Bug#755894: systemd does not start postgresql

Christoph Berg myon at debian.org
Mon Aug 11 13:04:32 UTC 2014


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.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/



More information about the Pkg-postgresql-public mailing list