And, for completeness, a corresponding 'stop' script
/etc/acpi/suspend.d/15-anacron.sh in case anacron is still running when the user suspends.
</i>
I've added these scripts to my dapper-running laptop and removed anacron from STOP_SERVICES. anacron defers execution when resuming and on battery, runs when it should. I'll keep using them for the next few days and report back on how it went. Sure does seem like the right solution, though I left off the redirect to /dev/null.
<i> What I think we should do is add an entry resume. d/85-anacron. sh which contains
/etc/acpi/
#!/bin/sh invoke- rc.d anacron start >/dev/null
/usr/sbin/
And, for completeness, a corresponding 'stop' script suspend. d/15-anacron. sh in case anacron is still running when the user suspends.
/etc/acpi/
</i>
I've added these scripts to my dapper-running laptop and removed anacron from STOP_SERVICES. anacron defers execution when resuming and on battery, runs when it should. I'll keep using them for the next few days and report back on how it went. Sure does seem like the right solution, though I left off the redirect to /dev/null.