aikar.co
Ubuntu - Prevent sleep while sharing files over samba
Prevent sleep while sharing files over samba / smb in Ubuntu