From: Catonano <catonano@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: 29992@debbugs.gnu.org, "Clément Lassieur" <clement@lassieur.org>
Subject: bug#29992: 'postgres' service doesn't stop
Date: Fri, 12 Jan 2018 10:46:08 +0100 [thread overview]
Message-ID: <CAJ98PDw8K+Oy96SzJ9udbSgcvEkFH8rwZOGmTOQfYOaqFzC57w@mail.gmail.com> (raw)
In-Reply-To: <87d12krp5l.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
2018-01-08 22:55 GMT+01:00 Alex Kost <alezost@gmail.com>:
> Ludovic Courtès (2018-01-08 11:59 +0100) wrote:
>
> > Perhaps the proper way to stop postgresql is via one of its client
> > commands, like we do for nginx?
>
> Regarding the commands: "pg_ctl" is the canonical tool to start/stop
> PostgreSQL server.
>
> Note: I don't use the Guix service for postgresql (instead I run
> postgres via my Shepherd user instance).
>
> --
> Alex
>
I'm sorry if this isn't the place to write about this
My Tryton service doesn't get stopped either
Here's a picture I took from a virtual machine
https://imgur.com/a/LJ2Cq
When I run Tryton myself, I use this line:
trytond -c trytond.conf
this command doesn' t return a prompt
So, in order to stop Tryton I simply press Ctrl-C
In the definition of my sevice, I use
#~(make-kill-destructor)
to stop the Tryton service
But I copied this from other services, I don't know what
"make-kill-destructor" does
My Trytond service is not working anyway, I launch a vm with my service
running in it, I test it with the client, I see it doesn't work, I stop it
and then I'd like to launch it by hand to see something more
But then, because a tryton-real daemon is still running, the socket for
that address is already bound, as you can see in the picture
Of course this has nothing to do with the Postgresql not stopping bug, I
was only giving some context
[-- Attachment #2: Type: text/html, Size: 2378 bytes --]
next prev parent reply other threads:[~2018-01-12 9:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-05 15:32 bug#29992: 'postgres' service doesn't stop Clément Lassieur
2018-01-08 10:59 ` Ludovic Courtès
2018-01-08 11:33 ` Clément Lassieur
2018-01-08 21:55 ` Alex Kost
2018-01-12 9:46 ` Catonano [this message]
2018-01-12 21:42 ` Danny Milosavljevic
2018-01-24 2:20 ` bug#29992: [PATCH] services: postgresql: Use pg_ctl to start and stop postgres Clément Lassieur
2018-01-24 15:04 ` Ludovic Courtès
2018-01-24 17:16 ` Clément Lassieur
2018-01-25 13:13 ` Clément Lassieur
2018-01-25 13:20 ` Clément Lassieur
2018-01-25 14:22 ` Ludovic Courtès
2018-01-25 14:56 ` Clément Lassieur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ98PDw8K+Oy96SzJ9udbSgcvEkFH8rwZOGmTOQfYOaqFzC57w@mail.gmail.com \
--to=catonano@gmail.com \
--cc=29992@debbugs.gnu.org \
--cc=alezost@gmail.com \
--cc=clement@lassieur.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.