fix(ops/modules): regularly restart panettone for b/225
Change-Id: I27565e0e462ecb431d0f82bb3f6026b1eb369279 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7504 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
eda6b93505
commit
ee4b95e470
1 changed files with 11 additions and 0 deletions
|
@ -104,5 +104,16 @@ in
|
||||||
ISSUECHANNEL = cfg.irccatChannel;
|
ISSUECHANNEL = cfg.irccatChannel;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.panettone-fixer = {
|
||||||
|
description = "Restart panettone regularly to work around b/225";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
script = "${pkgs.systemd}/bin/systemctl restart panettone";
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
||||||
|
# We don't exactly know how frequently this occurs, but
|
||||||
|
# _probably_ not more than hourly.
|
||||||
|
startAt = "hourly";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue