From: Alex Kost <alezost@gmail.com>
To: Thomas Sigurdsen <thomas.sigurdsen@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Webservices and Shepherd
Date: Mon, 03 Apr 2017 18:56:09 +0300 [thread overview]
Message-ID: <87fuhpwkme.fsf@gmail.com> (raw)
In-Reply-To: <20170402114426.4c656028@hitpoints> (Thomas Sigurdsen's message of "Sun, 2 Apr 2017 11:44:26 +0200")
Thomas Sigurdsen (2017-04-02 11:44 +0200) wrote:
> Hi Guix!
Hello!
[...]
> And when it comes to shepherd: I've seen a few configs where shepherd is
> running as a user in addition to root. It looks like this is a good way to
> separate webservices and similar, maybe even giving them separate users. But
> does it mean shepherd is running multiple instances, increasing overhead and
> difficulty of management (as in how do I know which shepherd I'm talking to
> and so on)?
Yes, I mean "yes" to multiple instances: the root's Shepherd can't
handle user services, you need to start another (user) Shepherd for
that. Knowing which instance you are talking to is easy:
- when you run "herd" command as root, it talks to the root's Shepherd
(on GuixSD its socket file is "/var/run/shepherd/socket");
- when you run "herd" as user, it talks to the user running instance
(its default socket is "~/.config/shepherd/run/socket").
--
Alex
prev parent reply other threads:[~2017-04-03 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 9:44 Webservices and Shepherd Thomas Sigurdsen
2017-04-03 13:50 ` Ludovic Courtès
2017-04-03 15:56 ` Alex Kost [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fuhpwkme.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=help-guix@gnu.org \
--cc=thomas.sigurdsen@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).