add auto restart
This commit is contained in:
parent
7debbcac00
commit
7896091428
2 changed files with 5 additions and 3 deletions
|
|
@ -12,14 +12,16 @@
|
|||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
freeformType = (pkgs.formats.toml { }).type;
|
||||
|
||||
};
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
systemd.services.continuwuity.serviceConfig.Restart = lib.mkForce "always";
|
||||
systemd.services.continuwuity.serviceConfig = {
|
||||
Restart = lib.mkForce "always";
|
||||
RuntimeMaxSec = "1d";
|
||||
};
|
||||
services =
|
||||
let
|
||||
subdomain = "matrix.${config.quad.matrix.domain}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue