#!/bin/bash set -e a2ensite timetracker.conf #systemd restart apache2 /etc/init.d/apache2 restart chmod 777 /usr/share/php/timetracker/WEB-INF/templates_c # check, whether sysal user exists if ! mysql -uttuser -pTtuser09 timetracker -e";" then echo "Installation of ttuser user ..." echo "Password of mysql root:" read pw mysql -uroot -p$pw <