#!/bin/bash
# This script restarts tessdb but first flushes the filter
echo -n "flushing the daylight filter ..."
systemctl kill -s WINCH tessdb.service
sleep 5
echo "done!"
echo -n "restarting tessdb ..."
systemctl restart tessdb.service
echo "done!"
