diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-01-13 20:07:52 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-01-13 20:07:52 +0000 |
commit | b2e2ad8e094ec4aa9b5cb303ee4d14812983005c (patch) | |
tree | 115e44a6209f554c8a90361e32d2b1cef842455f /sys-apps/dcron | |
parent | Here are the actuall kernel sources (diff) | |
download | gentoo-2-b2e2ad8e094ec4aa9b5cb303ee4d14812983005c.tar.gz gentoo-2-b2e2ad8e094ec4aa9b5cb303ee4d14812983005c.tar.bz2 gentoo-2-b2e2ad8e094ec4aa9b5cb303ee4d14812983005c.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/dcron')
-rw-r--r-- | sys-apps/dcron/files/crontab | 2 | ||||
-rwxr-xr-x | sys-apps/dcron/files/svc-dcron | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/dcron/files/crontab b/sys-apps/dcron/files/crontab index 708272ddf6f0..6bde0882d647 100644 --- a/sys-apps/dcron/files/crontab +++ b/sys-apps/dcron/files/crontab @@ -1,6 +1,6 @@ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly # --*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons +*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons 0 0 * * * rm -f /var/cron/lastrun/cron.daily 0 0 * * 6 rm -f /var/cron/lastrun/cron.weekly 0 0 1 * * rm -f /var/cron/lastrun/cron.monthly diff --git a/sys-apps/dcron/files/svc-dcron b/sys-apps/dcron/files/svc-dcron index e40af21c4f8f..24199adeed94 100755 --- a/sys-apps/dcron/files/svc-dcron +++ b/sys-apps/dcron/files/svc-dcron @@ -4,17 +4,17 @@ . /etc/rc.d/config/basic . /etc/rc.d/config/functions -SERVICE=svc-dcron +SERVICE=dcron opts="start stop" start() { - ebegin "Starting ${SERVICE}" + ebegin "Starting supervised ${SERVICE}" ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE} eend $? } stop() { - ebegin "Stopping ${SERVICE}" + ebegin "Stopping supervised ${SERVICE}" if [ -e ${SVCDIR}/control/${SERVICE} ] then /usr/bin/svc -dx ${SVCDIR}/control/${SERVICE}/log |