Re-enable reboots
This commit is contained in:
parent
31d1e11860
commit
2dcb4dd99c
2 changed files with 13 additions and 9 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
# systemd.timers.reboot = {
|
systemd.timers.reboot = {
|
||||||
# wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
# timerConfig = {
|
timerConfig = {
|
||||||
# OnCalendar = "*-*-* 02:00:00";
|
OnCalendar = "*-*-* 02:00:00";
|
||||||
# Persistent = true;
|
Persistent = true;
|
||||||
# Unit = "reboot.target";
|
Unit = "reboot.target";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
systemd.services.continuwuity.serviceConfig.Restart = lib.mkForce "always";
|
systemd.services.continuwuity.serviceConfig = {
|
||||||
|
TimeoutStartSec = 30;
|
||||||
|
Restart = lib.mkForce "always";
|
||||||
|
ExecStartPost = "/bin/sh -c 'until ${lib.getExe pkgs.curl} -s -f https://matrix.federated.nexus/.well-known/matrix/client; do sleep 1; done'";
|
||||||
|
};
|
||||||
services =
|
services =
|
||||||
let
|
let
|
||||||
subdomain = "matrix.${config.quad.matrix.domain}";
|
subdomain = "matrix.${config.quad.matrix.domain}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue