#!/bin/sh
#
# /etc/cron.daily/ku-user-fetchmail-restart
#
# ::do_not_edit::
# ::maintainer::
#
# restart user defined fetchmail, if any
#
CMD="ku-user-fetchmail-restart"

cmd="/etc/init.d/user-fetchmail"

[ -x "$cmd" ] || exit 0

exec >/var/log/$CMD.log 2>&1
exec $cmd restart
