MT#5215 Add SSL dirs needed for API cert handling.

agranig/rest
Andreas Granig 12 years ago
parent 3db6117dfd
commit cfd8671310

@ -15,6 +15,13 @@ case "$1" in
;;
esac
# certs should end up in db, but in the meanwhile prepare
# the dir structure
if [ ! -d /etc/ssl/ngcp/api ]; then
mkdir -p /etc/ssl/ngcp/api
chown www-data.www-data /etc/ssl/ngcp/api
fi
# remove default debian site
if [ -e /etc/nginx/sites-enabled/default ]; then
rm /etc/nginx/sites-enabled/default
@ -34,4 +41,4 @@ fi
#DEBHELPER#
exit 0
exit 0

Loading…
Cancel
Save