post_install() {
[ ! -f /srv/http/index.html ] && echo "
Server online.
" >/srv/http/index.html
[ ! -f /srv/http/index.php ] && echo "" >/srv/http/index.php
echo
echo "*** USAGE ***"
echo
echo "'systemctl start bozohttpd.service' starts the web server."
echo "Web server root is /srv/http. CGI dir is /usr/lib/cgi-bin."
echo "To enable CGI, PHP, and dir indexing"
echo "modify /usr/lib/systemd/system/bozohttpd.service ."
echo
}
post_upgrade() {
post_install
}