white standard worktime color in calendar
This commit is contained in:
17
debian/timetrack/DEBIAN/postinst
vendored
17
debian/timetrack/DEBIAN/postinst
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user