wol to be sent when freenas boots

wingman

Cadet
Joined
Jan 5, 2020
Messages
2
I have wol working in a jail which send to a device on my local lan my freenas box has a ups connected to it along with a small file server connected to the same ups.
i would like to know how to have freenas run the wakeonlan command that run in the jail i created when it boots to wakeup my file server if that is possible.
this when the freenas box powers back up after a power failure it will also power my file server back on.

running 11.2-u7
 

Dan Tudora

Patron
Joined
Jul 6, 2017
Messages
276
hello
in "post init" in FreeNAS add a line like
jexec jail_name /path_to_WOL_command.sh
search in forum for jexec or iocage exec command
succes
 
Top