nixos: i2pd: one fork less, one process less

This commit is contained in:
SLNOS 2017-07-01 00:00:00 +00:00 committed by Jan Malakhovski
parent b42a107bc6
commit 042329be5e

View File

@ -150,7 +150,7 @@ let
i2pdSh = pkgs.writeScriptBin "i2pd" ''
#!/bin/sh
${pkgs.i2pd}/bin/i2pd \
exec ${pkgs.i2pd}/bin/i2pd \
${if isNull cfg.address then "" else "--host="+cfg.address} \
--conf=${i2pdConf} \
--tunconf=${i2pdTunnelConf}