diff options
author | Arvin Moezzi <moezzia@gmail.com> | 2014-02-01 11:48:00 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-02-01 11:56:56 +0100 |
commit | 0602ef22de47435cc62f6a09111363f3084ef514 (patch) | |
tree | 2eaef0e403d63c1942d2828ebe8b9f53d525399a /nixos | |
parent | 21a220900ad72cebc08286f2f9d936db0da7fa6f (diff) | |
download | nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar.gz nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar.bz2 nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar.lz nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar.xz nixlib-0602ef22de47435cc62f6a09111363f3084ef514.tar.zst nixlib-0602ef22de47435cc62f6a09111363f3084ef514.zip |
git-daemon service: fix typo in option (close #1659)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/git-daemon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/git-daemon.nix b/nixos/modules/services/networking/git-daemon.nix index a7c7c206198f..2e7c9c68e2fa 100644 --- a/nixos/modules/services/networking/git-daemon.nix +++ b/nixos/modules/services/networking/git-daemon.nix @@ -101,7 +101,7 @@ in name = "git-daemon"; startOn = "ip-up"; exec = "${pkgs.git}/bin/git daemon --reuseaddr " - + (optionalString (cfg.basePath != "") "--basepath=${cfg.basePath} ") + + (optionalString (cfg.basePath != "") "--base-path=${cfg.basePath} ") + (optionalString (cfg.listenAddress != "") "--listen=${cfg.listenAddress} ") + "--port=${toString cfg.port} --user=${gitUser} --group=${gitUser} ${cfg.options} " + "--verbose " + (optionalString cfg.exportAll "--export-all") + concatStringsSep " " cfg.repositories; |