mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 04:03:21 +02:00
Fixes to OpenFire
svn path=/nixos/trunk/; revision=11264
This commit is contained in:
parent
3703cd13a2
commit
060533c8a1
|
@ -22,6 +22,13 @@ with pkgs;
|
|||
script
|
||||
export PATH=${jre}/bin:${openfire}/bin:${coreutils}/bin:${which}/bin:${gnugrep}/bin:${gawk}/bin:${gnused}/bin
|
||||
export HOME=/tmp
|
||||
mkdir /var/log/openfire || true
|
||||
mkdir /etc/openfire || true
|
||||
for i in ${openfire}/conf.inst/*; do
|
||||
if ! test -f /etc/openfire/$(basename $i); then
|
||||
cp $i /etc/openfire/
|
||||
fi
|
||||
done
|
||||
openfire start
|
||||
end script
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue