Skip to content

Commit 10cbc55

Browse files
committed
fix: service modules should restart
1 parent 3942fb3 commit 10cbc55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
agent start \
7878
--recovery-code-out-file ${config.services.polykey.recoveryCodeOutPath}
7979
'';
80+
Restart = "always";
81+
RestartSec = "1s";
8082
};
8183
};
8284
};
@@ -145,6 +147,8 @@
145147
agent start \
146148
--recovery-code-out-file ${config.programs.polykey.recoveryCodeOutPath}
147149
'';
150+
Restart = "always";
151+
RestartSec = "1s";
148152
};
149153
Install = { WantedBy = [ "default.target" ]; };
150154
};

0 commit comments

Comments
 (0)