From 390d2adb91c9d9564e1001e44643c15c7c6affd3 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 7 Feb 2008 14:02:38 +0000 Subject: [PATCH] Modified variable names to follow the standard convention svn path=/nixos/trunk/; revision=10544 --- system/options.nix | 6 +++--- upstart-jobs/mysql.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/options.nix b/system/options.nix index b3ccfa0b01e6..116dd4bb30f0 100644 --- a/system/options.nix +++ b/system/options.nix @@ -1660,17 +1660,17 @@ description = "User account under which MySQL runs"; }; - datadir = mkOption { + dataDir = mkOption { default = "/var/mysql"; description = "Location where MySQL stores its table files"; }; - log_error = mkOption { + logError = mkOption { default = "/var/log/mysql_err.log"; description = "Location of the MySQL error logfile"; }; - pid_file = mkOption { + pidFile = mkOption { default = "/var/mysql/mysql.pid"; description = "Location of the file which stores the PID of the MySQL server"; }; diff --git a/upstart-jobs/mysql.nix b/upstart-jobs/mysql.nix index 311f6747acf4..8a8f924bf17d 100644 --- a/upstart-jobs/mysql.nix +++ b/upstart-jobs/mysql.nix @@ -5,8 +5,8 @@ let cfg = config.services.mysql; mysqlService = import ../services/mysql { inherit (pkgs) stdenv mysql; - inherit (cfg) port user datadir - log_error pid_file; + inherit (cfg) port user dataDir + logError pidFile; }; in