guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Exposing?) config files and non-start/stop operations


From: Chris Marusich
Subject: Re: (Exposing?) config files and non-start/stop operations
Date: Tue, 22 Nov 2016 21:28:13 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi Chris,

Thank you for taking the time to clarify the motivation!  It helped a
lot.

Christopher Allan Webber <address@hidden> writes:

> The command you *want* to run is something like:
>
>   `foo-db dumpdb --config=/path/to/foodb.cfg'
>
> Now... your GuixSD system has, somewhere buried in it, a config file
> that it passes in when shepherd starts/stops the daemon.  It's somewhere
> in /gnu/store/ ... but you don't know where it is!

This is the information I was missing.  If your service/daemon/tool
requires that information to be supplied on the command line, then I can
see why it would be convenient to model the task as a Shepherd action.
I think that would be useful.

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]