3
0
Fork 0
forked from mirrors/nixpkgs

nixos/magnetico: order after network.target

This commit is contained in:
rnhmjoj 2019-11-13 22:50:06 +01:00
parent f6a8eb2d00
commit 8464867242
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -178,7 +178,7 @@ in {
systemd.services.magneticod = {
description = "Magnetico DHT crawler";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
after = [ "network.target" ];
serviceConfig = {
User = "magnetico";
@ -190,7 +190,7 @@ in {
systemd.services.magneticow = {
description = "Magnetico web interface";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" "magneticod.service"];
after = [ "network.target" "magneticod.service"];
serviceConfig = {
User = "magnetico";