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