modules/sliding-sync: fix after and wantedby

This commit is contained in:
Aaron Bieber 2024-07-02 16:00:33 -06:00
parent 0214456738
commit 0c6e9139c3
No known key found for this signature in database

View File

@ -81,7 +81,10 @@ in
systemd.services.sliding-sync = { systemd.services.sliding-sync = {
enable = true; enable = true;
description = "sliding-sync server"; description = "sliding-sync server";
after = [ "network-online.target" ];
wants = [ "network-online.target" "matrix-synapse.service" ]; wants = [ "network-online.target" "matrix-synapse.service" ];
wantedBy = [ "multi-user.target" ];
environment = { environment = {
HOME = "${cfg.dataDir}"; HOME = "${cfg.dataDir}";