[plug] Postgresql 9.4 on Debian Jessie

Marcus Holmes mh at marcusholmes.biz
Thu Sep 11 10:07:46 UTC 2014


so I was happily on 9.3 and then I moved to Jessie (so I could get Docker
working, a whole other story), which upgraded me to 9.4, but the upgrade
flunked the database upgrade so I was left running mismatched versions of
database and server (or something... it wasn't happy anyway). So. nuke the
site from orbit, purge everything and start again. Lucky it was all just
dev and test databases.

But, and here's the problem: Jessie uses systemd and the 9.4 install
doesn't seem to actually create the .service files needed to kick the
server off on boot (it does come with a lovely init.d script that then
doesn't appear to get called by systemd). And I can't find a decent guide
to writing .service files for 9.4 anywhere.

Anyone know of a way of either getting systemd to call the init.d script,
or better yet, a decent guide for the uninitiated on writing a .service
file?

Thanks in advance for any help...

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20140911/2479a97b/attachment.html>


More information about the plug mailing list