Use wantedBy instead of partOf

This commit is contained in:
2019-12-26 04:16:21 +01:00
parent e490102d74
commit 8cc829e063

View File

@@ -22,6 +22,6 @@
};
# Restart nginx after startup
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ];
systemd.services.nginx.wantedBy = [ "gitea.service" ];
}