diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-06-05 15:53:31 -0400 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2023-09-05 10:09:44 +0200 |
commit | 7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9 (patch) | |
tree | 97598bda898066e26dee564faf4f91eeb4b0b30a | |
parent | 7fa154f3ee4d93236bb844b97ca0dac32559dc37 (diff) | |
download | nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar.gz nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar.bz2 nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar.lz nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar.xz nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.tar.zst nixpkgs-7425d9254ddbce7a8764a7e1cf8a6f2d30b812a9.zip |
nixos/anbox: use `--daemon` to squash warning
As noted in https://github.com/NixOS/nixpkgs/pull/102341 this is not actually running as a forked process. It only tells the process that it is running "as a daemon, so shut the warning up". See `daemon_` here - https://github.com/anbox/anbox/blob/9de4e87cdd05135e1c71e6eadb68bf82719cebdf/src/anbox/cmds/container_manager.cpp#L38-L79 It is **strictly** used to hide that message. Co-authored-by: Matt Votava <mvnetbiz@gmail.com>
-rw-r--r-- | nixos/modules/virtualisation/anbox.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/anbox.nix b/nixos/modules/virtualisation/anbox.nix index dd4a49413f7..523d9a9576e 100644 --- a/nixos/modules/virtualisation/anbox.nix +++ b/nixos/modules/virtualisation/anbox.nix @@ -166,7 +166,8 @@ in --container-network-gateway=${cfg.ipv4.gateway.address} \ --container-network-dns-servers=${cfg.ipv4.dns} \ --use-rootfs-overlay \ - --privileged + --privileged \ + --daemon ''; }; }; |