]> rtime.felk.cvut.cz Git - novaboot.git/commit
server: Refactor delayed power-off logic
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 25 Apr 2022 20:21:32 +0000 (22:21 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Mon, 25 Apr 2022 20:24:38 +0000 (22:24 +0200)
commit6fbfa776759891549832817602092d629f48acb7
tree591caf29eba6a40351780c6c5e60d79ba2e07be3
parent3e0fd946995ce0387ccf25dcfef926f712d93061
server: Refactor delayed power-off logic

From time to time, I'm facing problems with delayed power off not
working. I'm not sure what is the exact reason, but a potential reason
could be that the board was powered on but the systemd service
novaboot-delayed-power-off.service, which is responsible for powering
off, was not started. To prevent that, we change the logic so that
powering on happens as a start job of the same service.
server/novaboot-shell
server/novaboot-shell.pod
server/systemd/novaboot-delayed-power-off.service