systemd: wants network-online.target, nss-lookup.target

This commit is contained in:
Evan Goode 2025-04-06 21:46:09 -04:00
parent 33d4d91ab3
commit e82e6f7117
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
[Unit]
Description=Drasl
After=network-online.target nss-lookup.target
Wants=network-online.target nss-lookup.target
[Service]
DynamicUser=true

View File

@ -114,6 +114,7 @@
description = "drasl";
wantedBy = ["multi-user.target"];
after = ["network-online.target" "nss-lookup.target"];
wants = ["network-online.target" "nss-lookup.target"];
serviceConfig = let
pkg = self.defaultPackage.${pkgs.system};