crowd: 3.0.1 -> 3.1.2

This commit is contained in:
Simon Lackerbauer 2018-03-21 20:02:07 +01:00 committed by Robin Gloster
parent de5205ae2d
commit 120e93928f
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 5 additions and 4 deletions

View File

@ -126,12 +126,13 @@ in
};
preStart = ''
mkdir -p ${cfg.home}/{logs,work,database}
rm -rf ${cfg.home}/work
mkdir -p ${cfg.home}/{logs,database,work}
mkdir -p /run/atlassian-crowd
ln -sf ${cfg.home}/{database,work,server.xml} /run/atlassian-crowd
chown -R ${cfg.user} ${cfg.home}
chown -R ${cfg.user}:${cfg.group} ${cfg.home}
sed -e 's,port="8095",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
'' + (lib.optionalString cfg.proxy.enable ''

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "atlassian-crowd-${version}";
version = "3.0.1";
version = "3.1.2";
src = fetchurl {
url = "https://www.atlassian.com/software/crowd/downloads/binary/${name}.tar.gz";
sha256 = "17pz0rgzdv40sbvzb9w6xmdg598m6gs7gsznfnxcy1j011cgg1wr";
sha256 = "0pnl0zl38827ckgxh4y1mnq3lr7bvd7v3ysdxxv3nfr5zya4xgki";
};
phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];