white standard worktime color in calendar

This commit is contained in:
Jörg Henke
2022-07-27 15:35:20 +02:00
parent af956f4650
commit c4f67cb691
3 changed files with 14 additions and 7 deletions

View File

@ -9,9 +9,16 @@ chown timetrack:timetrack /usr/bin/timetrack || true
cd /var/lib
systemctl daemon-reload || true
systemctl enable timetrack || true
R=$(systemctl show -p SubState --value timetrack)
echo "+------------------------------------------------------------------------------+"
echo "| configure timetrack in /etc/timetrack.properties; consider a port change... |"
echo "| start timetrack by calling sudo systemctl restart timetrack |"
echo "+------------------------------------------------------------------------------+"
if [ "running" == "$R" ]
then
systemctl restart timetrack || true
systemctl reload apache2 || true
else
systemctl enable timetrack || true
echo "+------------------------------------------------------------------------------+"
echo "| configure timetrack in /etc/timetrack.properties; consider a port change... |"
echo "| start timetrack by calling sudo systemctl restart timetrack |"
echo "+------------------------------------------------------------------------------+"
fi