From d8061c381fbf055c6b271655fe1a05584b20a6c3 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 24 Feb 2015 19:59:10 +0100 Subject: [PATCH] [fix] ssl_alias_manager now working --- ssl/ssl_alias_manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssl/ssl_alias_manager.sh b/ssl/ssl_alias_manager.sh index ab1b81cc..3151501e 100755 --- a/ssl/ssl_alias_manager.sh +++ b/ssl/ssl_alias_manager.sh @@ -13,6 +13,9 @@ FILEDIR=/var/lib/alternc/ssl-cert-alias rm -f "$TMP" mkdir -p "$FILEDIR" +echo "# this file is autogenerated from /usr/lib/alternc/ssl_alias_manager.sh" >$TMP +echo "# Please do not edit, your changes will be overwritten" >>$TMP + mysql --defaults-file=/etc/alternc/my.cnf --skip-column-names -B -e "SELECT name,content FROM certif_alias;" | while read name content do echo "alias /$name ${FILEDIR}/${name}" >>$TMP