Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4f6f225f78c9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ebc1127cb95f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 11, 2017

  1. services.gitolite: Add RequiresMountsFor unit option ...

    ... to ensure that the filesystem where `dataDir` resides is mounted when we do initialization or upgrade.
    pvgoran authored Sep 11, 2017
    Copy the full SHA
    4c4f73c View commit details

Commits on Sep 12, 2017

  1. Merge pull request #29247 from pvgoran/gitolite-RequiresMountsFor

    nixos/gitolite: add RequiresMountsFor unit option
    Mic92 authored Sep 12, 2017
    Copy the full SHA
    ebc1127 View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 nixos/modules/services/misc/gitolite.nix
1 change: 1 addition & 0 deletions nixos/modules/services/misc/gitolite.nix
Original file line number Diff line number Diff line change
@@ -70,6 +70,7 @@ in
systemd.services."gitolite-init" = {
description = "Gitolite initialization";
wantedBy = [ "multi-user.target" ];
unitConfig.RequiresMountsFor = cfg.dataDir;

serviceConfig.User = "${cfg.user}";
serviceConfig.Type = "oneshot";