nixos/tinc: remove useless script argument

ExecStart is sufficient and more transparent to the user.

Changed files
+1 -3
nixos
modules
services
networking
+1 -3
nixos/modules/services/networking/tinc.nix
···
Type = "simple";
Restart = "always";
RestartSec = "3";
+
ExecStart = "${data.package}/bin/tincd -D -U tinc.${network} -n ${network} ${optionalString (data.chroot) "-R"} --pidfile /run/tinc.${network}.pid -d ${toString data.debugLevel}";
};
preStart = ''
mkdir -p /etc/tinc/${network}/hosts
···
# Tinc 1.0 uses the tincd application
[ -f "/etc/tinc/${network}/rsa_key.priv" ] || tincd -n ${network} -K 4096
fi
-
'';
-
script = ''
-
tincd -D -U tinc.${network} -n ${network} ${optionalString (data.chroot) "-R"} --pidfile /run/tinc.${network}.pid -d ${toString data.debugLevel}
'';
})
);