unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: Extending the mysql configuration
Date: Wed, 19 Apr 2017 18:45:08 +0100	[thread overview]
Message-ID: <6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 949 bytes --]

Hey,

Does anyone have any advice about making the mysql service configuration
more flexible? At the moment, its not even possible to use a custom
configuration file without modifying the Guix source code.

My initial thoughts revolved around at some level providing access to a
data structure like:

(("mysqld" . (("datadir" . "/var/lib/mysql")
              ("socket" . "/var/run/mysql/mysql.sock")
              ("port" . "3306"))))

This could be part of a record, that can be built in to the
configuration file. This could also be a general feature, as I'm sure
other services will use this format, I spotted Avahi when looking
through the code.

I also spotted the define-configuration syntax, which looks like it
might work well, but I wanted to check if this was definitely a
direction more services were heading before attempting to write out a
large part of the supported configuration options.

Thanks,

Chris


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 858 bytes --]

             reply	other threads:[~2017-04-19 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19 17:45 Christopher Baines [this message]
2017-04-20  9:07 ` Extending the mysql configuration Andy Wingo
2017-04-21 21:53   ` Ludovic Courtès

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=6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net \
    --to=mail@cbaines.net \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).