Use pem if available

This commit is contained in:
Bob Mottram 2016-11-13 10:26:58 +00:00
parent f80bb1f6cc
commit 95cf995808
5 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#+TITLE:
#+AUTHOR: Bob Mottram
#+EMAIL: bob@freedombone.net
#+KEYWORDS: freedombox, debian, beaglebone, red matrix, email, web server, home server, internet, censorship, surveillance, social network, irc, jabber
#+DESCRIPTION: Turn the Beaglebone Black into a personal communications server
#+KEYWORDS: freedombone, apps
#+DESCRIPTION: List of apps available on freedombone
#+OPTIONS: ^:nil toc:nil
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
img/mailpile_setup.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -365,6 +365,7 @@ function install_mailpile {
fi
if [ -f /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem ]; then
chown mailpile: /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem
sed -i "s|.crt|.pem|g" /etc/nginx/sites-available/${MAILPILE_DOMAIN_NAME}
fi
if [ -f /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key ]; then
chown mailpile: /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key