From: Chris Marusich <cmmarusich@gmail.com>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: guix-devel@gnu.org
Subject: Re: (Exposing?) config files and non-start/stop operations
Date: Mon, 21 Nov 2016 20:13:40 -0800 [thread overview]
Message-ID: <87k2bwxibv.fsf@gmail.com> (raw)
In-Reply-To: <874m30bwpv.fsf@dustycloud.org> (Christopher Allan Webber's message of "Mon, 21 Nov 2016 10:53:48 -0600")
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
Hi Chris!
Thanks for entertaining my questions.
Christopher Allan Webber <cwebber@dustycloud.org> writes:
>> So sure, we can run "foo-db gc" occasionally (though system
>> administrators sometimes have to run these kinds of commands by hand).
>> But what about "foo-db dumpdb"? That's not something we just run on a
>> cronjob. You need access to that command. And in order for the command
>> to do the right thing, it might need access to the config file.
I'm having trouble understanding the motivation here. Can you clarify
why it's preferable to model the action as a Shepherd action, even
though a mechanism already exists to perform the action (e.g., "foo-db
dumpdb")?
I don't know a lot about Shepherd (yet!), but it seems like you COULD
model the action as a Shepherd action. The question is: WHY would that
be better than just performing the action via "the usual" mechanism? If
you can provide a more concrete example which illustrates the problem
for a specific service/daemon, it might help me to understand where
you're coming from.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2016-11-22 4:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-20 18:47 (Exposing?) config files and non-start/stop operations Christopher Allan Webber
2016-11-20 22:34 ` Christopher Allan Webber
2016-11-21 4:54 ` Chris Marusich
2016-11-21 16:18 ` Christopher Allan Webber
2016-11-21 16:53 ` Christopher Allan Webber
2016-11-22 4:13 ` Chris Marusich [this message]
2016-11-22 17:21 ` Christopher Allan Webber
2016-11-22 22:59 ` Ludovic Courtès
2016-11-23 5:28 ` Chris Marusich
2016-11-22 22:57 ` Ludovic Courtès
2016-11-23 22:03 ` Christopher Allan Webber
2016-11-24 13:31 ` Ludovic Courtès
2016-11-25 7:27 ` Christopher Allan Webber
2016-11-26 12:40 ` Chris Marusich
2016-11-27 15:39 ` Christopher Allan Webber
2016-11-29 3:06 ` Chris Marusich
2016-11-26 13:47 ` Ricardo Wurmus
2016-11-26 17:40 ` Ludovic Courtès
2016-11-27 15:47 ` Christopher Allan Webber
2016-11-26 17:43 ` Ludovic Courtès
2016-11-27 15:48 ` Christopher Allan Webber
2016-11-21 14:18 ` Ludovic Courtès
2016-11-21 16:21 ` Christopher Allan Webber
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=87k2bwxibv.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=cwebber@dustycloud.org \
--cc=guix-devel@gnu.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.