many services: wantedBy -> wants

This commit is contained in:
Aaron Bieber 2024-06-14 09:04:26 -06:00
parent 64e8f2734d
commit ca7c0a8e82
No known key found for this signature in database
6 changed files with 7 additions and 14 deletions

View File

@ -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";

View File

@ -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 ];

View File

@ -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}";

View File

@ -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}"; };

View File

@ -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 ];

View File

@ -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;