unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Extending the mysql configuration
@ 2017-04-19 17:45 Christopher Baines
  2017-04-20  9:07 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2017-04-19 17:45 UTC (permalink / raw)
  To: guix-devel


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-21 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 17:45 Extending the mysql configuration Christopher Baines
2017-04-20  9:07 ` Andy Wingo
2017-04-21 21:53   ` Ludovic Courtès

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