fix(ops/modules/irccat): only start after network is online
I've discovered that it is possible for irccat to fail enough times to run into the restart limit before network is online after booting. Change-Id: Ia54a46d56bdc765a825fee50e7bdc8206718edc0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12790 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
8ede491f5e
commit
58f795d7c3
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ in
|
||||||
systemd.services.irccat = {
|
systemd.services.irccat = {
|
||||||
inherit description;
|
inherit description;
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${mergeAndLaunch}";
|
ExecStart = "${mergeAndLaunch}";
|
||||||
|
|
Loading…
Reference in a new issue