python3 reboot.pypython3 reboot.py serverserver mode waits infitely for a ping, then reboot. The ping can be either an Unix signal or a network connection.
Assuming it's running as a PID 123, trigger reboot by following command:
builtin kill -SIGUSR1 123Assuming it's IP is 192.168.0.2, run following command from a different process (or machine from same network)
wget 192.168.0.2:1234x86_64aarch64arm32riscv64