1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 17:25:17 +03:00
aports/testing/openfire/openfire.post-install
Taner Tas c045c835e1 testing/openfire: new aport
https://www.igniterealtime.org/projects/openfire/
Openfire is a cross-platform real-time collaboration server based on the XMPP (Jabber) protocol.
2018-09-04 10:36:49 +00:00

18 lines
451 B
Bash
Executable file

#!/bin/sh
_ofhome=/var/lib/openfire
for conf in "$_ofhome"/conf/openfire.xml \
"$_ofhome"/conf/security.xml \
"$_ofhome"/resources/security/client.truststore \
"$_ofhome"/resources/security/keystore \
"$_ofhome"/resources/security/truststore
do
if [ -f "$conf" ]
then
printf "$conf exists. Not creating new one. \n\n"
else
printf "Copying new $conf \n"
cp -av "$conf".default "$conf" || printf "Copying new $conf failed. \n\n"
fi
done