Fixes to OpenFire

svn path=/nixos/trunk/; revision=11264
This commit is contained in:
Michael Raskin 2008-03-22 17:54:13 +00:00
parent 3703cd13a2
commit 060533c8a1

View file

@ -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
'';