Shutdown and Restart

This interface is used to control device shutdown and restart, or to exit the FIRERPA service itself.

Attention

FIRERPA is designed as a 24/7 background service; frequent startup or shutdown is not recommended.

Shut Down System

This operation will power off the current device.

d.shutdown()

Restart System

This operation will restart the current device.

d.reboot()

Exit Service

This operation will cause the FIRERPA service itself to exit.

d.exit()

If it is inconvenient to use the interface, you can execute the following command:

kill -SIGUSR2 $(cat ~/lamda.pid)

It may take more than ten seconds for the FIRERPA service to fully exit. Please do not execute this command consecutively multiple times.