systemd domainname service - fix missing domainname binary
needs nettools in path
This commit is contained in:
parent
16d9fd5a86
commit
137a3c1303
1 changed files with 1 additions and 1 deletions
|
@ -1410,7 +1410,7 @@ in
|
|||
wantedBy = [ "sysinit.target" ];
|
||||
before = [ "sysinit.target" ];
|
||||
unitConfig.DefaultDependencies = false;
|
||||
serviceConfig.ExecStart = ''domainname "${cfg.domain}"'';
|
||||
serviceConfig.ExecStart = ''${pkgs.nettools}/bin/domainname "${cfg.domain}"'';
|
||||
};
|
||||
|
||||
environment.etc.hostid = mkIf (cfg.hostId != null) { source = hostidFile; };
|
||||
|
|
Loading…
Reference in a new issue