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
|
script
|
||||||
export PATH=${jre}/bin:${openfire}/bin:${coreutils}/bin:${which}/bin:${gnugrep}/bin:${gawk}/bin:${gnused}/bin
|
export PATH=${jre}/bin:${openfire}/bin:${coreutils}/bin:${which}/bin:${gnugrep}/bin:${gawk}/bin:${gnused}/bin
|
||||||
export HOME=/tmp
|
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
|
openfire start
|
||||||
end script
|
end script
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user