How to wake on lan a remote host on demand using systemd's sockets
Tuesday, 7 February 2017Some years ago I wrote an article on how to wake on lan a (SSHFS) fileserver on demand using autofs.
Today I want to describe a more generic way to do the same. This should not only work for SSH but for every services that communicates via TCP. Everything you need is systemd, netcat (nc) and a wake-on-lan tool like etherwake.