feat(zigbee): force restart z2m
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
b9402f4643
commit
2878943745
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
{...}: {
|
||||
{lib, ...}: let
|
||||
inherit (lib) mkForce;
|
||||
in {
|
||||
services = {
|
||||
home-assistant = {
|
||||
extraComponents = [
|
||||
|
@ -44,4 +46,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Make sure it stays running through SMLIGHT reboots
|
||||
systemd.services."zigbee2mqtt".serviceConfig = {
|
||||
Restart = mkForce "always";
|
||||
StartLimitIntervalSec = 0;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue