many services: wantedBy -> wants
This commit is contained in:
parent
64e8f2734d
commit
ca7c0a8e82
@ -269,8 +269,7 @@ in
|
||||
};
|
||||
nomadnet = {
|
||||
description = "nomadnet";
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "multi-user.target" "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
User = "qbit";
|
||||
Type = "forking";
|
||||
@ -280,8 +279,7 @@ in
|
||||
};
|
||||
matrix-synapse.after = [ "icbirc.service" ];
|
||||
icb-tunnel = {
|
||||
wantedBy = [ "network.target" ];
|
||||
after = [ "network.target" "multi-user.target" ];
|
||||
wants = [ "network.target" "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
User = "qbit";
|
||||
WorkingDirectory = "/home/qbit";
|
||||
|
@ -66,8 +66,7 @@ in
|
||||
systemd.services.golink = {
|
||||
enable = true;
|
||||
description = "golink server";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
path = [ pkgs.vnstat ];
|
||||
|
||||
|
@ -81,8 +81,7 @@ in
|
||||
systemd.services.sliding-sync = {
|
||||
enable = true;
|
||||
description = "sliding-sync server";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
after = [ "network-online.target" "matrix-synapse.service" ];
|
||||
wants = [ "network-online.target" "matrix-synapse.service" ];
|
||||
|
||||
environment = {
|
||||
HOME = "${cfg.dataDir}";
|
||||
|
@ -87,8 +87,7 @@ in
|
||||
systemd.services.tsrevprox = {
|
||||
enable = true;
|
||||
description = "tsrevprox server";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
environment = { HOME = "${cfg.dataDir}"; };
|
||||
|
||||
|
@ -67,8 +67,7 @@ in
|
||||
systemd.services.tsvnstat = {
|
||||
enable = true;
|
||||
description = "tsvnstat server";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
path = [ pkgs.vnstat ];
|
||||
|
||||
|
@ -59,8 +59,7 @@ in
|
||||
systemd.services.veilid-server = {
|
||||
enable = true;
|
||||
description = "veilid-server";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
environment = {
|
||||
HOME = cfg.dataDir;
|
||||
|
Loading…
Reference in New Issue
Block a user