summarylogtreecommitdiffstats
path: root/mod_nss.install
blob: ef12764fbdeeabc9b4f9d3a31dcb20a70f21931b (plain)
1
2
3
4
5
6
7
8
9
post_install() {
    if [ ! -e etc/httpd/alias/key3.db ]; then
        gencert etc/httpd/alias &>etc/httpd/alias/install.log
        echo "mod_nss certificate database generated."
    fi

    find etc/httpd/alias -user root -name '*.db' -exec chgrp apache {} \;
    find etc/httpd/alias -user root -name '*.db' -exec chmod g+r {} \;
}