I'm currently running an old computer as a NAS in my basement. It has Ubuntu 16.04 (the normal version with GUI) installed, but no monitor / keyboard / mouse attached, so kind of headless.
I would like the NAS to shutdown when it's not in use and start via WOL when someone tries to access one of the NFS shares. Starting works like a charm, but the automatic shutdown isn't.
I was trying to use the power settings from the system settings to automatically suspend after 1 hour of inactivity, but this seems to ignore NFS activity. I've also tried using xscreensaver, which has the same problem.
Does anyone have an idea on how to solve this or had a similar problem?