Subversion Repositories sql-ledger


Rev 38 | Blame | Compare with Previous | Last modification | View Log | RSS feed

# Activate SQL-Ledger in apache configuration.  Small helper script
# to reduce the chance of typos.

includeline="Include /etc/sql-ledger/sql-ledger-httpd.conf"

if grep -q "^$includeline" $httpdconf ; then
    echo "info: SQL-Ledger is already enabled in $httpdconf"
    echo "$includeline" >> $httpdconf
    echo "info: Content of $httpdconf is updated.
    echo "info: Please restart apache for this change to take effect."
    echo "info: Remember that there might be no admin password set at"
    echo "info: the moment, and the installation is open for everyone."