[fix] ssl_alias_manager now working
This commit is contained in:
parent
1752408651
commit
d8061c381f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue