mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
git-daemon service: fix typo in option (close #1659)
This commit is contained in:
parent
21a220900a
commit
0602ef22de
@ -101,7 +101,7 @@ in
|
|||||||
name = "git-daemon";
|
name = "git-daemon";
|
||||||
startOn = "ip-up";
|
startOn = "ip-up";
|
||||||
exec = "${pkgs.git}/bin/git daemon --reuseaddr "
|
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} ")
|
+ (optionalString (cfg.listenAddress != "") "--listen=${cfg.listenAddress} ")
|
||||||
+ "--port=${toString cfg.port} --user=${gitUser} --group=${gitUser} ${cfg.options} "
|
+ "--port=${toString cfg.port} --user=${gitUser} --group=${gitUser} ${cfg.options} "
|
||||||
+ "--verbose " + (optionalString cfg.exportAll "--export-all") + concatStringsSep " " cfg.repositories;
|
+ "--verbose " + (optionalString cfg.exportAll "--export-all") + concatStringsSep " " cfg.repositories;
|
||||||
|
Loading…
Reference in New Issue
Block a user