treewide: remove network-online.target

systemd system units cannot be a dependency of a user-unit.
Reference: https://github.com/systemd/systemd/issues/3312
This commit is contained in:
Alex Martens 2026-05-02 08:21:52 -07:00 committed by Austin Horstman
parent b931102804
commit b5e86c1b19
12 changed files with 0 additions and 21 deletions

View file

@ -312,8 +312,6 @@ in
lib.nameValuePair "colima-${name}" {
Unit = {
Description = "Colima container runtime (${name} profile)";
After = [ "network-online.target" ];
Wants = [ "network-online.target" ];
};
Service = {
ExecStart = ''

View file

@ -58,7 +58,6 @@ in
pantalaimon = {
Unit = {
Description = "Pantalaimon - E2EE aware proxy daemon for matrix clients";
After = [ "network-online.target" ];
};
Service = {

View file

@ -41,7 +41,6 @@ in
systemd.user.services.pimsync = {
Unit = {
Description = "pimsync calendar and contacts synchronization";
PartOf = [ "network-online.target" ];
};
Install.WantedBy = [ "default.target" ];
Service = {

View file

@ -42,8 +42,6 @@ in
Unit = {
Description = "Podman auto-update service";
Documentation = "man:podman-auto-update(1)";
Wants = [ "network-online.target" ];
After = [ "network-online.target" ];
};
Service = {

View file

@ -56,8 +56,6 @@ in
Unit = {
Description = "An MPRIS scrobbler";
Documentation = "https://github.com/InputUsername/rescrobbled";
Wants = [ "network-online.target" ];
After = [ "network-online.target" ];
};
Service.ExecStart = lib.getExe cfg.package;

View file

@ -487,8 +487,6 @@ in
lib.nameValuePair serviceName {
Unit = {
Description = "Restic backup service";
Wants = [ "network-online.target" ];
After = [ "network-online.target" ];
};
Service = {

View file

@ -35,8 +35,6 @@ in
Unit = {
Description = "Update tldr CLI cache";
Documentation = "https://tldr.sh/";
Wants = [ "network-online.target" ];
After = [ "network-online.target" ];
};
Service = {

View file

@ -64,7 +64,6 @@ in
systemd.user.services.vdirsyncer = {
Unit = {
Description = "vdirsyncer calendar&contacts synchronization";
PartOf = [ "network-online.target" ];
};
Service = {

View file

@ -17,6 +17,4 @@ StandardError=append:/home/hm-user/.local/state/colima/default.log
StandardOutput=append:/home/hm-user/.local/state/colima/default.log
[Unit]
After=network-online.target
Description=Colima container runtime (default profile)
Wants=network-online.target

View file

@ -15,6 +15,4 @@ StandardError=append:/home/hm-user/.local/state/colima/default.log
StandardOutput=append:/home/hm-user/.local/state/colima/default.log
[Unit]
After=network-online.target
Description=Colima container runtime (default profile)
Wants=network-online.target

View file

@ -39,8 +39,6 @@
assertFileExists $service
assertFileRegex $service 'Description=An MPRIS scrobbler'
assertFileRegex $service 'Wants=network-online.target'
assertFileRegex $service 'After=network-online.target'
assertFileRegex $service 'WantedBy=default.target'
'';
}

View file

@ -4,7 +4,5 @@ ExecStart=@tldr@/bin/dummy --update
Type=oneshot
[Unit]
After=network-online.target
Description=Update tldr CLI cache
Documentation=https://tldr.sh/
Wants=network-online.target