eg25-control: add a timeout to how long a power-on can take

This commit is contained in:
Colin 2023-10-07 04:27:08 +00:00
parent bc3ad7dfa5
commit e5125065d6

View File

@ -35,6 +35,7 @@ in
ExecStop = "${cfg.package}/bin/eg25-control --power-off --verbose";
Restart = "on-failure";
RestartSec = "60s";
TimeoutSec = "60s";
# XXX /sys/class/modem-power/modem-power/device/powered is writable only by root
# User = "eg25-control";