diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-03-08 21:30:37 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-03-08 21:30:37 +0300 |
commit | 04be52d7b75eb62203a3af8d85e36e3584123f90 (patch) | |
tree | 5ad22924998c10c45834eadae6c0498a3ac4be1b /modules/nixos/soju.nix | |
parent | 2024-03-04 (diff) |
2024-03-08
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/soju.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixos/soju.nix b/modules/nixos/soju.nix index ea95bb3..71dff86 100644 --- a/modules/nixos/soju.nix +++ b/modules/nixos/soju.nix @@ -70,6 +70,8 @@ in { systemd.services.soju = { description = "soju IRC bouncer"; wantedBy = ["multi-user.target"]; + wants = ["network-online.target"]; + requires = ["postgresql.service"]; after = ["network-online.target" "postgresql.service"]; serviceConfig = { ExecStart = let |