Module handler

Module handler 

Source

Functionsยง

handle_motd
writes greenboot status to motd.d/boot-status
handle_reboot
reboots the system if boot_counter is greater than 0 or can be forced too
handle_rollback
rollback to previous deployment if boot counter is less than 0