Specify dependencies on other services for matrix authentication service
Fixes matrix authentication service crashing on startup after a host reboot because the network is down.
This commit is contained in:
parent
1368fd8663
commit
d8364d07c3
|
@ -78,6 +78,9 @@ in
|
|||
|
||||
systemd.services.matrix-authentication-service = {
|
||||
description = "Matrix Authentication Service";
|
||||
after = [ "network-online.target" "postgresql.service" ];
|
||||
requires = [ "postgresql.service" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
Loading…
Reference in a new issue