1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-28 12:06:38 +03:00

* Make various MediaWiki scripts available in $PATH,

e.g. mediawiki-<id>-changePassword (where <id> is usually "main").

svn path=/nixos/trunk/; revision=18780
This commit is contained in:
Eelco Dolstra 2009-12-03 12:20:24 +00:00
parent 9f8fc09fc3
commit aacd16cff0
2 changed files with 27 additions and 3 deletions

View file

@ -1,7 +1,8 @@
{pkgs, config, ...}:
{ config, pkgs, ... }:
with pkgs.lib;
let
inherit (pkgs.lib) mkOption mkIf singleton;
cfg = config.services.postgresql;
@ -12,7 +13,7 @@ let
run = "${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} postgres";
flags = if cfg.enableTCPIP then ["-i"] else [];
flags = optional cfg.enableTCPIP "-i";
# The main PostgreSQL configuration file.
configFile = pkgs.writeText "postgresql.conf"