/etc/cron.daily/doodle is in doodle 0.7.0-8.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/bin/sh
if [ -r /etc/default/doodle ]
then
. /etc/default/doodle
else
exit 0
fi
if [ -x /usr/bin/doodle ]
then
DOODLE_PATH=$(
for DIRECTORY in ${DOODLE_PATH}
do
[ -d ${DIRECTORY} ] && echo ${DIRECTORY}
done
)
if [ -n "${DOODLE_PATH}" ]
then
/usr/bin/doodle ${DAEMON_OPTS} -b ${DOODLE_PATH}
chown root:doodle "$(dirname ${DOODLE_DBPATH})" -R
chmod 0660 "${DOODLE_DBPATH}"
fi
fi
|