Sleep on LAN utility
This utility provides a very simple REST service to make a computer go to sleep (or utilize other power states).
Run the application as root / Administrator.
- Copy the application (and optionally the unit file) to the target system
sudo cp sleep-on-lan-linux-amd64 /usr/bin/sleep-on-lan
sudo chmod a+x /usr/bin/sleep-on-lan
- Go to
<IP TARGET>:53305to verify if the application is running
Installing the unit file
sudo cp sleep-on-lan.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl start sleep-on-lan.service
sudo systemctl enable sleep-on-lan.service
Navigate to the
scripts directory and run
build.sh to cross platform build.