On Thu, Mar 11, 2021 at 01:13:08PM +0000, Patrick O'Callaghan wrote:
Yes, I had noticed that. What isn't clear to me is how this would work on system reboot. I need to be able to power down the drive not just after it's unmounted, but when the system is rebooted and the drive hasn't been mounted in the first place, i.e. a non-event.
Nothing stopping you from having a separate systemd unit that just runs on boot and shutdown, too.
Cron's @reboot is just going to be doing the equivalent of running a systemd unit after the crond service starts.