Make sure required services are started in nix modules
This commit is contained in:
parent
3197e4f8d3
commit
f707f21237
@ -31,6 +31,7 @@ in {
|
||||
systemd.services.fieldpoc = {
|
||||
description = "Fieldpoc daemon";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "network-online.target" "yate.service" ];
|
||||
after = [ "network-online.target" "yate.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
|
@ -21,6 +21,7 @@ in {
|
||||
systemd.services.yate = {
|
||||
description = "YATE Telephony Server";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "network-online.target" "postgresql.service" ];
|
||||
after = [ "network-online.target" "postgresql.service" ];
|
||||
|
||||
environment = { PWLIB_ASSERT_ACTION = "C"; };
|
||||
|
Loading…
Reference in New Issue
Block a user